mirror of
https://github.com/swaywm/sway.git
synced 2026-04-27 06:46:25 -04:00
Integrate libtouch into sway and cursor.(c|h)
This commit is contained in:
parent
7873a0f13c
commit
a3e3242621
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue