diff options
author | Las <las@protonmail.ch> | 2019-01-26 00:45:06 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-30 19:53:59 +0100 |
commit | cedde21c967ae5be0d1a9c7656ab8c6b3186ae42 (patch) | |
tree | 26c784ea3d6546d762a96b131a2cf23cee9a9c38 /include/sway/input/seat.h | |
parent | criteria & scratchpad verify if show in another workspace (#3522) (diff) | |
download | sway-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.h | 6 |
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 | ||
87 | struct sway_pointer_constraint { | ||
88 | struct wlr_pointer_constraint_v1 *constraint; | ||
89 | |||
90 | struct wl_listener destroy; | ||
91 | }; | ||
92 | |||
87 | struct sway_seat *seat_create(const char *seat_name); | 93 | struct sway_seat *seat_create(const char *seat_name); |
88 | 94 | ||
89 | void seat_destroy(struct sway_seat *seat); | 95 | void seat_destroy(struct sway_seat *seat); |