sway

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

commit 9a080192672d89b519933f5a16161ba83a597738
parent e787a1581cc399ca7d953c9cd4d868499f5733a3
Author: William Wold <wm@wmww.sh>
Date:   Mon, 10 Sep 2018 10:03:53 -0700

Prevent stacked layout from crashing

Diffstat:
Msway/tree/container.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -246,7 +246,7 @@ static struct sway_container *container_at_stacked(struct sway_node *parent, // Surfaces struct sway_node *current = seat_get_active_child(seat, parent); - return tiling_container_at(current, lx, ly, surface, sx, sy); + return current ? tiling_container_at(current, lx, ly, surface, sx, sy) : NULL; } /**