handle_touch_cancel: fix begin default

I forgot to call seatop_begin_default in
e8f7551e46.
This commit is contained in:
hrdl 2023-05-04 17:26:15 +02:00 committed by Simon Ser
parent e8f7551e46
commit 3cd7c71780
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}