diff options
-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 | ||