summaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorLas <[email protected]>2019-01-26 00:45:06 +0100
committeremersion <[email protected]>2019-01-30 19:53:59 +0100
commitcedde21c967ae5be0d1a9c7656ab8c6b3186ae42 (patch)
tree26c784ea3d6546d762a96b131a2cf23cee9a9c38 /include/sway/server.h
parent5cb3d4769cb055f542e6cb5fc979dd8f0fb9a8f3 (diff)
Implement pointer-constraints-unstable-v1
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h4
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 {
struct wlr_presentation *presentation;
+ struct wlr_pointer_constraints_v1 *pointer_constraints;
+ struct wl_listener pointer_constraint;
+
size_t txn_timeout_ms;
list_t *transactions;
list_t *dirty_nodes;
@@ -86,5 +89,6 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data);
#endif
void handle_server_decoration(struct wl_listener *listener, void *data);
void handle_xdg_decoration(struct wl_listener *listener, void *data);
+void handle_pointer_constraint(struct wl_listener *listener, void *data);
#endif