commit 777800e37ab84de9deb64586d8155a9eb600b4c2
parent 21eb63cc9ebff4e843595c64e40b5707a158c925
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 19 Apr 2018 09:15:21 -0400
Fix qutebrowser crash on context menu dismissal
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/input/seat.c b/sway/input/seat.c
@@ -458,7 +458,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
new_workspace = container_parent(new_workspace, C_WORKSPACE);
}
- if (last_workspace == new_workspace
+ if (last_workspace && last_workspace == new_workspace
&& last_workspace->sway_workspace->fullscreen
&& !container->sway_view->is_fullscreen) {
return;