sway

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

commit c7c2bf542af92907ac5b8c5361b8fe585427e9cf
parent 8ee764e0c24378fe3d8e430bdbb40ea58ac9c28d
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  9 May 2016 10:08:56 -0700

Merge pull request #650 from neosilky/segfault

sway/container.c: fix segfault where view is assigned prematurely
Diffstat:
Msway/container.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/container.c b/sway/container.c @@ -820,10 +820,10 @@ swayc_t *swayc_tabbed_stacked_parent(swayc_t *view) { return NULL; } do { - view = view->parent; if (view->layout == L_TABBED || view->layout == L_STACKED) { parent = view; } + view = view->parent; } while (view && view->type != C_WORKSPACE); return parent;