aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/input/seatop_default.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c
index d20048d5..8513e314 100644
--- a/sway/input/seatop_default.c
+++ b/sway/input/seatop_default.c
@@ -219,6 +219,7 @@ static void cursor_do_rebase(struct sway_cursor *cursor, uint32_t time_msec,
219 } 219 }
220 220
221 if (surface == NULL) { 221 if (surface == NULL) {
222 wlr_seat_pointer_notify_enter(wlr_seat, NULL, 0, 0);
222 wlr_seat_pointer_clear_focus(wlr_seat); 223 wlr_seat_pointer_clear_focus(wlr_seat);
223 } 224 }
224} 225}