From 4baf845a3ab90ac4ae8832e9e022c8638080e743 Mon Sep 17 00:00:00 2001 From: Simon Plakolb Date: Tue, 24 Aug 2021 16:53:03 +0200 Subject: 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. --- include/sway/input/seat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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, -- cgit v1.2.3