commit 3cd7c7178079bf61bb7967690e7767442b369782
parent e8f7551e46052a8df04b630bf06565ca77f830fb
Author: hrdl <31923882+hrdl-github@users.noreply.github.com>
Date: Thu, 4 May 2023 17:26:15 +0200
handle_touch_cancel: fix begin default
I forgot to call seatop_begin_default in
e8f7551e46052a8df04b630bf06565ca77f830fb.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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);
}