diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-05-04 17:26:15 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-05-04 17:26:15 +0200 |
| commit | 846e1294b84c5b26ab0c9e543133130d9d81b7ee (patch) | |
| tree | 98fb07720c4d9f8972e9d904594da9a46a7a3108 | |
| parent | 4cc24463d95479747a5431dd1d207cb83c9cb46e (diff) | |
handle_touch_cancel: fix begin default
I forgot to call seatop_begin_default in
4cc24463d95479747a5431dd1d207cb83c9cb46e.
| -rw-r--r-- | sway/input/seatop_down.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |
