From a3e32426213bee1e3d604ff1a626d477f73cbfeb Mon Sep 17 00:00:00 2001 From: grahnen Date: Tue, 15 Jan 2019 03:45:04 +0100 Subject: [PATCH] Integrate libtouch into sway and cursor.(c|h) --- 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 0e79398d0..312841ae0 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -395,12 +395,12 @@ static void handle_touch_down(struct wl_listener *listener, void *data) { event->touch_id, sx, sy); cursor_set_image(cursor, NULL, NULL); } - } static void handle_touch_up(struct wl_listener *listener, void *data) { struct sway_cursor *cursor = wl_container_of(listener, cursor, touch_up); + struct libtouch_engine *engine = cursor->gesture_engine; wlr_idle_notify_activity(server.idle, cursor->seat->wlr_seat); struct wlr_event_touch_up *event = data; struct wlr_seat *seat = cursor->seat->wlr_seat;