diff options
author | emersion <contact@emersion.fr> | 2018-05-03 15:45:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 15:45:40 +0100 |
commit | 812525246a362aa29c994a3c69b18ddecc98f015 (patch) | |
tree | efc51e264ef7b3874b9545361b2a71699892c315 | |
parent | Fix alphabetization of command list (diff) | |
parent | Hide cursor on touch down (diff) | |
download | sway-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.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 | ||