aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Las <las@protonmail.ch>2019-01-26 00:45:06 +0100
committerLibravatar emersion <contact@emersion.fr>2019-01-30 19:53:59 +0100
commitcedde21c967ae5be0d1a9c7656ab8c6b3186ae42 (patch)
tree26c784ea3d6546d762a96b131a2cf23cee9a9c38 /include/sway/input/seat.h
parentcriteria & scratchpad verify if show in another workspace (#3522) (diff)
downloadsway-cedde21c967ae5be0d1a9c7656ab8c6b3186ae42.tar.gz
sway-cedde21c967ae5be0d1a9c7656ab8c6b3186ae42.tar.zst
sway-cedde21c967ae5be0d1a9c7656ab8c6b3186ae42.zip
Implement pointer-constraints-unstable-v1
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h6
1 files changed, 6 insertions, 0 deletions
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 {
84 struct wl_list link; // input_manager::seats 84 struct wl_list link; // input_manager::seats
85}; 85};
86 86
87struct sway_pointer_constraint {
88 struct wlr_pointer_constraint_v1 *constraint;
89
90 struct wl_listener destroy;
91};
92
87struct sway_seat *seat_create(const char *seat_name); 93struct sway_seat *seat_create(const char *seat_name);
88 94
89void seat_destroy(struct sway_seat *seat); 95void seat_destroy(struct sway_seat *seat);