]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Chase wlroots: Layershell version
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 24 Jan 2023 02:35:13 +0000 (03:35 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 27 Nov 2023 21:01:53 +0000 (21:01 +0000)
Chases 9f793d350379872aeee56ea5c476adfeedc8bc88
layer-shell-v1: specify version in constructor

src/layers.c
subprojects/wlroots.wrap

index a55e8a50abd3305ff1f8e3e952037a8b2327bd22..634e3727b79933b17dcd31b922c23ef2e167dd55 100644 (file)
@@ -22,6 +22,8 @@
 #include "labwc.h"
 #include "node.h"
 
+#define LAB_LAYERSHELL_VERSION 4
+
 static void
 apply_override(struct output *output, struct wlr_box *usable_area)
 {
@@ -428,7 +430,8 @@ handle_new_layer_surface(struct wl_listener *listener, void *data)
 void
 layers_init(struct server *server)
 {
-       server->layer_shell = wlr_layer_shell_v1_create(server->wl_display);
+       server->layer_shell = wlr_layer_shell_v1_create(server->wl_display,
+               LAB_LAYERSHELL_VERSION);
        server->new_layer_surface.notify = handle_new_layer_surface;
        wl_signal_add(&server->layer_shell->events.new_surface,
                &server->new_layer_surface);
index 70fbd695a23d1ef05b1192537d43052b3e066f74..bbd05642e9c263faa9d0f5ae5d76fa9d948be143 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 5b23987349dde587100c792bb6d180c930e6f2bd
+revision = 9f793d350379872aeee56ea5c476adfeedc8bc88
 
 [provide]
 dependency_names = wlroots