commit 44e218574f96d46f36f6bd6e0b7625ae3c97593f
parent 5a77bc321553f5137f9f9ce49622ba3860801494
Author: Brian Ashworth <bosrsf04@gmail.com>
Date: Mon, 23 Jul 2018 15:40:05 -0400
Add missing checks to fix 2339
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;
}