Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Show HN: Sway – i3 for wayland
(
github.com/sircmpwn
)
10 points
by
ddevault
on Aug 16, 2015
|
hide
|
past
|
favorite
|
2 comments
th0br0
on Aug 16, 2015
[–]
shouldn't that be
if(parent == NULL || parent->children == NULL) {
in get_swayc_for_handle ?
Luminarys
on Aug 16, 2015
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: