From cedde21c967ae5be0d1a9c7656ab8c6b3186ae42 Mon Sep 17 00:00:00 2001 From: Las Date: Sat, 26 Jan 2019 00:45:06 +0100 Subject: Implement pointer-constraints-unstable-v1 --- include/sway/input/seat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/sway/input/seat.h') diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index ef85b67f..1c9354df 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h @@ -84,6 +84,12 @@ struct sway_seat { struct wl_list link; // input_manager::seats }; +struct sway_pointer_constraint { + struct wlr_pointer_constraint_v1 *constraint; + + struct wl_listener destroy; +}; + struct sway_seat *seat_create(const char *seat_name); void seat_destroy(struct sway_seat *seat); -- cgit v1.2.3