From f9d3a616e73594db3f6d8bef333cadfe478d2bdd Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Sat, 21 Jun 2025 00:07:02 +0200 Subject: Add cursor->hidden check to handle_rebase Fixes #6245 --- sway/input/seatop_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c index 19645b4c..df8232af 100644 --- a/sway/input/seatop_default.c +++ b/sway/input/seatop_default.c @@ -1111,7 +1111,7 @@ static void handle_rebase(struct sway_seat *seat, uint32_t time_msec) { cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy); if (surface) { - if (seat_is_input_allowed(seat, surface)) { + if (seat_is_input_allowed(seat, surface) && !cursor->hidden) { wlr_seat_pointer_notify_enter(seat->wlr_seat, surface, sx, sy); wlr_seat_pointer_notify_motion(seat->wlr_seat, time_msec, sx, sy); } -- cgit v1.2.3