diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-19 09:15:21 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-19 09:15:21 -0400 |
commit | 777800e37ab84de9deb64586d8155a9eb600b4c2 (patch) | |
tree | fb6931009cdc1a753445f7d735f2f3f84b618553 | |
parent | Merge branch 'master' into fullscreen (diff) | |
download | sway-777800e37ab84de9deb64586d8155a9eb600b4c2.tar.gz sway-777800e37ab84de9deb64586d8155a9eb600b4c2.tar.zst sway-777800e37ab84de9deb64586d8155a9eb600b4c2.zip |
Fix qutebrowser crash on context menu dismissal
-rw-r--r-- | sway/input/seat.c | 2 |
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; |