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/server.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sway/server.h') 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 -- cgit v1.2.3-54-g00ecf