aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorabsrd <fk@bsrd.io>2019-01-29 20:52:59 +0100
committeremersion <contact@emersion.fr>2019-01-30 19:53:59 +0100
commitee4b8a39385203a560818f99b380565d16bc7665 (patch)
treed2dad79e472eaa5314f4de46a72abf467d37e628 /include/sway
parentcedde21c967ae5be0d1a9c7656ab8c6b3186ae42 (diff)
Add relative pointer
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index fa2c6557..5eef7c1a 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -9,6 +9,7 @@
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/types/wlr_presentation_time.h>
+#include <wlr/types/wlr_relative_pointer_v1.h>
#include <wlr/types/wlr_server_decoration.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/types/wlr_xdg_shell.h>
@@ -51,6 +52,8 @@ struct sway_server {
struct wl_listener xwayland_ready;
#endif
+ struct wlr_relative_pointer_manager_v1 *relative_pointer_manager;
+
struct wlr_server_decoration_manager *server_decoration_manager;
struct wl_listener server_decoration;
struct wl_list decorations; // sway_server_decoration::link