From 6bd7a62c09af07dfecd2ae1d056d1cb2c68c2b01 Mon Sep 17 00:00:00 2001 From: Timidger Date: Sat, 23 Nov 2019 17:47:24 -0500 Subject: [PATCH] Use layer shell v2 --- types/wlr_layer_shell_v1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;