Integrate libtouch into sway and cursor.(c|h)

This commit is contained in:
grahnen 2019-01-15 03:45:04 +01:00 committed by Samuel Grahn
parent 7873a0f13c
commit a3e3242621

View file

@ -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;