aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_layer_shell_v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_layer_shell_v1.c b/types/wlr_layer_shell_v1.c
index 8b092fd3..1b5c426a 100644
--- a/types/wlr_layer_shell_v1.c
+++ b/types/wlr_layer_shell_v1.c
@@ -486,7 +486,7 @@ struct wlr_layer_shell_v1 *wlr_layer_shell_v1_create(struct wl_display *display)
wl_list_init(&layer_shell->surfaces);
struct wl_global *global = wl_global_create(display,
- &zwlr_layer_shell_v1_interface, 1, layer_shell, layer_shell_bind);
+ &zwlr_layer_shell_v1_interface, 2, layer_shell, layer_shell_bind);
if (!global) {
free(layer_shell);
return NULL;