aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-05-03 15:45:40 +0100
committerLibravatar GitHub <noreply@github.com>2018-05-03 15:45:40 +0100
commit812525246a362aa29c994a3c69b18ddecc98f015 (patch)
treeefc51e264ef7b3874b9545361b2a71699892c315
parentFix alphabetization of command list (diff)
parentHide cursor on touch down (diff)
downloadsway-812525246a362aa29c994a3c69b18ddecc98f015.tar.gz
sway-812525246a362aa29c994a3c69b18ddecc98f015.tar.zst
sway-812525246a362aa29c994a3c69b18ddecc98f015.zip
Merge pull request #1901 from swaywm/touch-hide-cursor
Hide cursor on touch down
-rw-r--r--sway/input/cursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index e094bbbe..c0c6e827 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -264,6 +264,8 @@ static void handle_touch_down(struct wl_listener *listener, void *data) {
264 if (seat_is_input_allowed(cursor->seat, surface)) { 264 if (seat_is_input_allowed(cursor->seat, surface)) {
265 wlr_seat_touch_notify_down(seat, surface, event->time_msec, 265 wlr_seat_touch_notify_down(seat, surface, event->time_msec,
266 event->touch_id, sx, sy); 266 event->touch_id, sx, sy);
267 cursor->image_client = NULL;
268 wlr_cursor_set_image(cursor->cursor, NULL, 0, 0, 0, 0, 0, 0);
267 } 269 }
268} 270}
269 271