aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;