Skip to content

Commit 3cd7c71

Browse files
hrdl-githubemersion
authored andcommitted
handle_touch_cancel: fix begin default
I forgot to call seatop_begin_default in e8f7551.
1 parent e8f7551 commit 3cd7c71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sway/input/seatop_down.c

+4
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ static void handle_touch_cancel(struct sway_seat *seat,
117117
}
118118
}
119119

120+
if (wl_list_empty(&e->point_events)) {
121+
seatop_begin_default(seat);
122+
}
123+
120124
if (e->surface) {
121125
wlr_seat_touch_notify_cancel(seat->wlr_seat, e->surface);
122126
}

0 commit comments

Comments
 (0)