sway

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

commit 0d4c31edcd49e1780da9f637474adeb09d3b11c7
parent 60c599a5a90ec0b43bf95305d94686f8e7473592
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 31 Mar 2016 10:51:44 -0400

Merge pull request #565 from mikkeloscar/fix-pointer-crash

Fix pointer related crash when stacked/tabbed
Diffstat:
Msway/container.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/container.c b/sway/container.c @@ -615,7 +615,7 @@ swayc_t *container_under_pointer(void) { } struct wlc_point origin; wlc_pointer_get_position(&origin); - while (lookup->type != C_VIEW) { + while (lookup && lookup->type != C_VIEW) { int i; int len; // if tabbed/stacked go directly to focused container, otherwise search