diff options
-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); } |