aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/input/seatop_down.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sway/input/seatop_down.c b/sway/input/seatop_down.c
index 81e8d0a7..36f9bb60 100644
--- a/sway/input/seatop_down.c
+++ b/sway/input/seatop_down.c
@@ -64,11 +64,11 @@ static void handle_touch_up(struct sway_seat *seat,
64 } 64 }
65 } 65 }
66 66
67 wlr_seat_touch_notify_up(seat->wlr_seat, event->time_msec, event->touch_id);
68
67 if (wl_list_empty(&e->point_events)) { 69 if (wl_list_empty(&e->point_events)) {
68 seatop_begin_default(seat); 70 seatop_begin_default(seat);
69 } 71 }
70
71 wlr_seat_touch_notify_up(seat->wlr_seat, event->time_msec, event->touch_id);
72} 72}
73 73
74static void handle_touch_down(struct sway_seat *seat, 74static void handle_touch_down(struct sway_seat *seat,
@@ -117,13 +117,13 @@ static void handle_touch_cancel(struct sway_seat *seat,
117 } 117 }
118 } 118 }
119 119
120 if (wl_list_empty(&e->point_events)) {
121 seatop_begin_default(seat);
122 }
123
124 if (e->surface) { 120 if (e->surface) {
125 wlr_seat_touch_notify_cancel(seat->wlr_seat, e->surface); 121 wlr_seat_touch_notify_cancel(seat->wlr_seat, e->surface);
126 } 122 }
123
124 if (wl_list_empty(&e->point_events)) {
125 seatop_begin_default(seat);
126 }
127} 127}
128 128
129static void handle_pointer_axis(struct sway_seat *seat, 129static void handle_pointer_axis(struct sway_seat *seat,