Merge pull request #1901 from swaywm/touch-hide-cursor

Hide cursor on touch down
master
emersion 7 years ago committed by GitHub
commit 812525246a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -264,6 +264,8 @@ static void handle_touch_down(struct wl_listener *listener, void *data) {
if (seat_is_input_allowed(cursor->seat, surface)) { if (seat_is_input_allowed(cursor->seat, surface)) {
wlr_seat_touch_notify_down(seat, surface, event->time_msec, wlr_seat_touch_notify_down(seat, surface, event->time_msec,
event->touch_id, sx, sy); event->touch_id, sx, sy);
cursor->image_client = NULL;
wlr_cursor_set_image(cursor->cursor, NULL, 0, 0, 0, 0, 0, 0);
} }
} }

Loading…
Cancel
Save