summaryrefslogtreecommitdiff
path: root/src/platform/wayland/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/wayland/shell.c')
-rw-r--r--src/platform/wayland/shell.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/platform/wayland/shell.c b/src/platform/wayland/shell.c
index 92c89d1..a12bd4d 100644
--- a/src/platform/wayland/shell.c
+++ b/src/platform/wayland/shell.c
@@ -208,6 +208,12 @@ static void registry_global(void *data, struct wl_registry *registry,
} else if (strcmp(interface, wp_cursor_shape_manager_v1_interface.name) == 0) {
c->cursor_shape_mgr = wl_registry_bind(registry, name,
&wp_cursor_shape_manager_v1_interface, 1);
+ } else if (strcmp(interface, zwp_relative_pointer_manager_v1_interface.name) == 0) {
+ c->relative_pointer_mgr = wl_registry_bind(registry, name,
+ &zwp_relative_pointer_manager_v1_interface, 1);
+ } else if (strcmp(interface, zwp_pointer_constraints_v1_interface.name) == 0) {
+ c->pointer_constraints = wl_registry_bind(registry, name,
+ &zwp_pointer_constraints_v1_interface, 1);
} else if (strcmp(interface, wp_fractional_scale_manager_v1_interface.name) == 0) {
c->scale_mgr = wl_registry_bind(registry, name,
&wp_fractional_scale_manager_v1_interface, 1);