aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-19 09:15:21 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-19 09:15:21 -0400
commit777800e37ab84de9deb64586d8155a9eb600b4c2 (patch)
treefb6931009cdc1a753445f7d735f2f3f84b618553 /sway/input/seat.c
parentMerge branch 'master' into fullscreen (diff)
downloadsway-777800e37ab84de9deb64586d8155a9eb600b4c2.tar.gz
sway-777800e37ab84de9deb64586d8155a9eb600b4c2.tar.zst
sway-777800e37ab84de9deb64586d8155a9eb600b4c2.zip
Fix qutebrowser crash on context menu dismissal
Diffstat (limited to 'sway/input/seat.c')
-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,
458 new_workspace = container_parent(new_workspace, C_WORKSPACE); 458 new_workspace = container_parent(new_workspace, C_WORKSPACE);
459 } 459 }
460 460
461 if (last_workspace == new_workspace 461 if (last_workspace && last_workspace == new_workspace
462 && last_workspace->sway_workspace->fullscreen 462 && last_workspace->sway_workspace->fullscreen
463 && !container->sway_view->is_fullscreen) { 463 && !container->sway_view->is_fullscreen) {
464 return; 464 return;