aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_default.c
diff options
context:
space:
mode:
authorLibravatar Alex Maese <memaese@hotmail.com>2019-04-26 13:46:31 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2019-04-28 21:07:47 +0300
commit3b3e0560beb9a44f038736fd4c344052fdfe3f81 (patch)
treefa108e5c72c4f57010d4c60cc68a33fe158eea8b /sway/input/seatop_default.c
parentDon't send pointer motion when rebasing the cursor (diff)
downloadsway-3b3e0560beb9a44f038736fd4c344052fdfe3f81.tar.gz
sway-3b3e0560beb9a44f038736fd4c344052fdfe3f81.tar.zst
sway-3b3e0560beb9a44f038736fd4c344052fdfe3f81.zip
Fix a silly mistake
Diffstat (limited to 'sway/input/seatop_default.c')
-rw-r--r--sway/input/seatop_default.c2
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;