From f89f45e58da08109188219ac0ab31ecc09b2cc17 Mon Sep 17 00:00:00 2001 From: Samuel Grahn Date: Thu, 24 Jan 2019 04:02:24 +0100 Subject: [PATCH] Use the right seat pointer --- sway/input/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 5468c404b..376891e60 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -391,7 +391,7 @@ static void handle_touch_up(struct wl_listener *listener, void *data) { wlr_seat_touch_notify_up(seat, event->time_msec, event->touch_id); libtouch_engine_register_touch(cursor->gesture_engine, event->time_msec, event->touch_id, LIBTOUCH_TOUCH_UP, 0, 0); - handle_gestures(cursor->gesture_engine, seat); + handle_gestures(cursor->gesture_engine, cursor->seat); } static void handle_touch_motion(struct wl_listener *listener, void *data) {