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/server.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/server.h')
-rw-r--r-- | include/sway/server.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 9242ceb7..fa2c6557 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -61,6 +61,9 @@ struct sway_server { | |||
61 | 61 | ||
62 | struct wlr_presentation *presentation; | 62 | struct wlr_presentation *presentation; |
63 | 63 | ||
64 | struct wlr_pointer_constraints_v1 *pointer_constraints; | ||
65 | struct wl_listener pointer_constraint; | ||
66 | |||
64 | size_t txn_timeout_ms; | 67 | size_t txn_timeout_ms; |
65 | list_t *transactions; | 68 | list_t *transactions; |
66 | list_t *dirty_nodes; | 69 | list_t *dirty_nodes; |
@@ -86,5 +89,6 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data); | |||
86 | #endif | 89 | #endif |
87 | void handle_server_decoration(struct wl_listener *listener, void *data); | 90 | void handle_server_decoration(struct wl_listener *listener, void *data); |
88 | void handle_xdg_decoration(struct wl_listener *listener, void *data); | 91 | void handle_xdg_decoration(struct wl_listener *listener, void *data); |
92 | void handle_pointer_constraint(struct wl_listener *listener, void *data); | ||
89 | 93 | ||
90 | #endif | 94 | #endif |