]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Chase wlroots xdg_shell version
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 18 May 2022 11:55:33 +0000 (13:55 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 18 May 2022 12:04:22 +0000 (14:04 +0200)
To update the wlroots subproject use
meson subprojects update wlroots

src/server.c
subprojects/wlroots.wrap

index bc5135797b127df277719852700ad4bb3e8282fd..14af791998c38f232ab5177d8ee30a17a4fcdf0b 100644 (file)
@@ -19,6 +19,8 @@
 #include "ssd.h"
 #include "theme.h"
 
+#define LAB_XDG_SHELL_VERSION (2)
+
 static struct wlr_compositor *compositor;
 static struct wl_event_source *sighup_source;
 static struct wl_event_source *sigint_source;
@@ -282,7 +284,8 @@ server_init(struct server *server)
        seat_init(server);
 
        /* Init xdg-shell */
-       server->xdg_shell = wlr_xdg_shell_create(server->wl_display);
+       server->xdg_shell = wlr_xdg_shell_create(server->wl_display,
+               LAB_XDG_SHELL_VERSION);
        if (!server->xdg_shell) {
                wlr_log(WLR_ERROR, "unable to create the XDG shell interface");
                exit(EXIT_FAILURE);
index f674a834877225615d1ddf28007a6d7b67ef0129..5ddce6910764bb1a01c5c92671f5c40bf2fe7c9c 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 640f3b9f2156a007c5d1a36afdee570e123c95e4
+revision = 8fe3aa29da56be16faa73aca947647bd60cd4a94
 
 [provide]
 dependency_names = wlroots