aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-19 09:15:21 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-19 09:15:21 -0400
commit777800e37ab84de9deb64586d8155a9eb600b4c2 (patch)
treefb6931009cdc1a753445f7d735f2f3f84b618553 /sway
parent21eb63cc9ebff4e843595c64e40b5707a158c925 (diff)
Fix qutebrowser crash on context menu dismissal
Diffstat (limited to 'sway')
-rw-r--r--sway/input/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 23b7ef76..8bba7d8f 100644
--- 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;