From 846e1294b84c5b26ab0c9e543133130d9d81b7ee Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Thu, 4 May 2023 17:26:15 +0200 Subject: handle_touch_cancel: fix begin default I forgot to call seatop_begin_default in 4cc24463d95479747a5431dd1d207cb83c9cb46e. --- sway/input/seatop_down.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sway/input/seatop_down.c b/sway/input/seatop_down.c index c5901f6a..81e8d0a7 100644 --- a/sway/input/seatop_down.c +++ b/sway/input/seatop_down.c @@ -117,6 +117,10 @@ static void handle_touch_cancel(struct sway_seat *seat, } } + if (wl_list_empty(&e->point_events)) { + seatop_begin_default(seat); + } + if (e->surface) { wlr_seat_touch_notify_cancel(seat->wlr_seat, e->surface); } -- cgit v1.2.3