aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Plakolb <s.plakolb@gmail.com>2021-08-24 16:53:03 +0200
committerLibravatar Tudor Brindus <vulcainus@gmail.com>2021-09-02 13:13:40 -0400
commit4baf845a3ab90ac4ae8832e9e022c8638080e743 (patch)
tree452ed400b8b772f3cb27ed6b8b868fb0804aba62 /include
parentinput: Use seatop_down on layer surface click (diff)
downloadsway-4baf845a3ab90ac4ae8832e9e022c8638080e743.tar.gz
sway-4baf845a3ab90ac4ae8832e9e022c8638080e743.tar.zst
sway-4baf845a3ab90ac4ae8832e9e022c8638080e743.zip
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);
241void seatop_begin_down(struct sway_seat *seat, struct sway_container *con, 241void seatop_begin_down(struct sway_seat *seat, struct sway_container *con,
242 uint32_t time_msec, double sx, double sy); 242 uint32_t time_msec, double sx, double sy);
243 243
244void seatop_begin_down_on_layer_surface(struct sway_seat *seat, 244void seatop_begin_down_on_surface(struct sway_seat *seat,
245 struct wlr_surface *surface, uint32_t time_msec, double sx, double sy); 245 struct wlr_surface *surface, uint32_t time_msec, double sx, double sy);
246 246
247void seatop_begin_move_floating(struct sway_seat *seat, 247void seatop_begin_move_floating(struct sway_seat *seat,