diff options
Diffstat (limited to 'sway/input/seatop_default.c')
-rw-r--r-- | sway/input/seatop_default.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c index 072f4396..2bce2f77 100644 --- a/sway/input/seatop_default.c +++ b/sway/input/seatop_default.c | |||
@@ -483,8 +483,7 @@ static void handle_pointer_motion(struct sway_seat *seat, uint32_t time_msec, | |||
483 | } | 483 | } |
484 | } else { | 484 | } else { |
485 | cursor_update_image(cursor, node); | 485 | cursor_update_image(cursor, node); |
486 | wlr_seat_pointer_notify_enter(seat->wlr_seat, NULL, 0, 0); | 486 | wlr_seat_pointer_notify_clear_focus(seat->wlr_seat); |
487 | wlr_seat_pointer_clear_focus(seat->wlr_seat); | ||
488 | } | 487 | } |
489 | 488 | ||
490 | struct sway_drag_icon *drag_icon; | 489 | struct sway_drag_icon *drag_icon; |
@@ -664,8 +663,7 @@ static void handle_rebase(struct sway_seat *seat, uint32_t time_msec) { | |||
664 | } | 663 | } |
665 | } else { | 664 | } else { |
666 | cursor_update_image(cursor, e->previous_node); | 665 | cursor_update_image(cursor, e->previous_node); |
667 | wlr_seat_pointer_notify_enter(seat->wlr_seat, NULL, 0, 0); | 666 | wlr_seat_pointer_notify_clear_focus(seat->wlr_seat); |
668 | wlr_seat_pointer_clear_focus(seat->wlr_seat); | ||
669 | } | 667 | } |
670 | } | 668 | } |
671 | 669 | ||