sway

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

commit 9835845e220ea2236a90d939ad901247fcd74bc4
parent 107f961752641ca81cfb38a95948ea8fd0f236af
Author: Drew DeVault <ddevault@linode.com>
Date:   Mon, 17 Aug 2015 14:18:57 -0400

Fix segfault from focus_view

Diffstat:
Msway/layout.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sway/layout.c b/sway/layout.c @@ -285,6 +285,9 @@ void unfocus_all(swayc_t *container) { } void focus_view(swayc_t *view) { + if (!view) { + return; + } sway_log(L_DEBUG, "Setting focus for %p:%ld", view, view->handle); swayc_t *c = view; //Set focus from root to view