aboutsummaryrefslogtreecommitdiff
path: root/registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'registry.c')
-rw-r--r--registry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/registry.c b/registry.c
index d872e4c..8230339 100644
--- a/registry.c
+++ b/registry.c
@@ -22,13 +22,13 @@ void global(void *data, struct wl_registry *wl_registry, uint32_t name, const ch
state->compositor = wl_registry_bind(wl_registry, name, &wl_compositor_interface, 1);
}
else if (!strcmp(interface, wl_seat_interface.name)) {
- state->seat = wl_registry_bind(state->registry, name, &wl_seat_interface, 1);
+ state->seat = wl_registry_bind(state->registry, name, &wl_seat_interface, 4);
}
else if (!strcmp(interface, zwlr_layer_shell_v1_interface.name)) {
- state->layer_shell = wl_registry_bind(wl_registry, name, &zwlr_layer_shell_v1_interface, version);
+ state->layer_shell = wl_registry_bind(wl_registry, name, &zwlr_layer_shell_v1_interface, 5);
}
else if (!strcmp(interface, wp_cursor_shape_manager_v1_interface.name)) {
- state->cursor_shape_manager = wl_registry_bind( wl_registry, name, &wp_cursor_shape_manager_v1_interface, version);
+ state->cursor_shape_manager = wl_registry_bind( wl_registry, name, &wp_cursor_shape_manager_v1_interface, 1);
}
else {
}