mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-01 06:20:17 +01:00
Hide cursor on touch down
This commit is contained in:
parent
00e62c214d
commit
d233e75eec
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue