mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01: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
1 changed files with 4 additions and 0 deletions
|
@ -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