mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
handle_touch_cancel: fix begin default
I forgot to call seatop_begin_default in
e8f7551e46
.
This commit is contained in:
parent
e8f7551e46
commit
3cd7c71780
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue