diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-03 08:21:29 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-05-03 10:39:34 -0400 |
commit | d233e75eec605c30dc527c4b5080d5ee997769b4 (patch) | |
tree | efc51e264ef7b3874b9545361b2a71699892c315 | |
parent | Fix alphabetization of command list (diff) | |
download | sway-d233e75eec605c30dc527c4b5080d5ee997769b4.tar.gz sway-d233e75eec605c30dc527c4b5080d5ee997769b4.tar.zst sway-d233e75eec605c30dc527c4b5080d5ee997769b4.zip |
Hide cursor on touch down
-rw-r--r-- | sway/input/cursor.c | 2 |
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 | ||