aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-07-23 15:40:05 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-07-23 15:40:05 -0400
commit44e218574f96d46f36f6bd6e0b7625ae3c97593f (patch)
tree0d4e6ad48af029b4e76dda05dd8acb8bfb63f9d7 /sway/input
parent5a77bc321553f5137f9f9ce49622ba3860801494 (diff)
Add missing checks to fix 2339
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 273223db..fc9e54b6 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -628,6 +628,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
if (last_workspace && last_workspace == new_workspace
&& last_workspace->sway_workspace->fullscreen
+ && container && container->type == C_VIEW
&& !container->sway_view->is_fullscreen) {
return;
}