News for hackers. Stuff that matters.
Re:Show HN: Sway – i3 for wayland by th0br0 on Sunday August 16, 2015 @04:05PM (#10070087)
shouldn't that be

  if(parent == NULL || parent->children == NULL) {
in get_swayc_for_handle ?
Re:Show HN: Sway – i3 for wayland by Luminarys on Sunday August 16, 2015 @04:17PM (#10070122)
Because get_swayc_for_handle is always called using the root container, when it recurses down it should never end up checking a parent which is NULL.