summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-04-26 13:46:31 -0500
committerFurkan Sahin <furkan-dev@proton.me>2019-04-26 13:46:31 -0500
commit4da3f86b9a7fbde4a6880ddcdeb7e2044195746d (patch)
treefa108e5c72c4f57010d4c60cc68a33fe158eea8b
parentad5b93865095f2cb641f8ac17b24f6a8716e371f (diff)
Fix a silly mistake
-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,
cursor_do_rebase(cursor, time_msec, node, surface, sx, sy);
if (surface && seat_is_input_allowed(cursor->seat, surface)) {
- wlr_seat_pointer_notify_motion(wlr_seat, time_msec, sx, sy);
+ wlr_seat_pointer_notify_motion(seat->wlr_seat, time_msec, sx, sy);
}
struct sway_drag_icon *drag_icon;