sway

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

commit e12d1cf00382fcfdab17013921161cc661ef556d
parent f8d0e1f94635e6334d2d646797dfd43c219e213a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun,  6 Aug 2017 11:27:53 -0400

Merge pull request #1309 from 4e554c4c/racey_kills

Prevent race condition in the kill command
Diffstat:
Msway/container.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/container.c b/sway/container.c @@ -849,7 +849,6 @@ int swayc_gap(swayc_t *container) { void container_map(swayc_t *container, void (*f)(swayc_t *view, void *data), void *data) { if (container) { - f(container, data); int i; if (container->children) { for (i = 0; i < container->children->length; ++i) { @@ -863,6 +862,7 @@ void container_map(swayc_t *container, void (*f)(swayc_t *view, void *data), voi container_map(child, f, data); } } + f(container, data); } }