sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 4aeaaa8abc35ff6ce9746802169918d33e7b8e61
parent cd9e71fb034547aab4a26c84521abb498ca05db7
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 10 Aug 2015 19:20:21 -0400

Merge pull request #14 from taiyu-len/master

fixed 'return NULL' in 'void container_map(...)'
Diffstat:
Msway/container.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sway/container.c b/sway/container.c @@ -3,16 +3,16 @@ void container_map(swayc_t *container, void (*f)(swayc_t *view, void *data), void *data) { if (!container->children) { - return NULL; + return; } int i; for (i = 0; i < container->children->length; ++i) { swayc_t *child = container->children->items[i]; f(child, data); - if(child->children) + if (child->children) { container_map(child, f, data); + } } - return NULL; }