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 12b1fab5..8ed4a3fe 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -738,7 +738,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
}
}
- if (last_workspace && last_workspace != new_workspace) {
+ if (last_focus != NULL) {
cursor_send_pointer_motion(seat->cursor, 0, true);
}