diff options
-rw-r--r-- | sway/input/seatop_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c index 3609fbee..88138471 100644 --- a/sway/input/seatop_default.c +++ b/sway/input/seatop_default.c | |||
@@ -461,7 +461,7 @@ static void handle_motion(struct sway_seat *seat, uint32_t time_msec, | |||
461 | 461 | ||
462 | cursor_do_rebase(cursor, time_msec, node, surface, sx, sy); | 462 | cursor_do_rebase(cursor, time_msec, node, surface, sx, sy); |
463 | if (surface && seat_is_input_allowed(cursor->seat, surface)) { | 463 | if (surface && seat_is_input_allowed(cursor->seat, surface)) { |
464 | wlr_seat_pointer_notify_motion(wlr_seat, time_msec, sx, sy); | 464 | wlr_seat_pointer_notify_motion(seat->wlr_seat, time_msec, sx, sy); |
465 | } | 465 | } |
466 | 466 | ||
467 | struct sway_drag_icon *drag_icon; | 467 | struct sway_drag_icon *drag_icon; |