aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-08-24 16:53:03 +0200
committerFurkan Sahin <furkan-dev@proton.me>2021-08-24 16:53:03 +0200
commitcf1e99a942fd3c8715f2f74488d6b9656698b854 (patch)
tree452ed400b8b772f3cb27ed6b8b868fb0804aba62 /include
parent74d6dca55af32d85537b8385b8caacdbaef799ce (diff)
seatop_down: End if surface is destroyed or other seatop starts
If the surface the pointer started to interact with is destroyed we also want the seatop_down to end. In case a drag is initiated we receive a call to handle_end.
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/seat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 78dbda6f..77c2278d 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -241,7 +241,7 @@ void seatop_begin_default(struct sway_seat *seat);
void seatop_begin_down(struct sway_seat *seat, struct sway_container *con,
uint32_t time_msec, double sx, double sy);
-void seatop_begin_down_on_layer_surface(struct sway_seat *seat,
+void seatop_begin_down_on_surface(struct sway_seat *seat,
struct wlr_surface *surface, uint32_t time_msec, double sx, double sy);
void seatop_begin_move_floating(struct sway_seat *seat,