aboutsummaryrefslogtreecommitdiffstats
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,
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;