]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Chase wlroots: Pass version to wlr_compositor_create()
authorJohn Lindgren <john@jlindgren.net>
Wed, 19 Apr 2023 21:52:34 +0000 (17:52 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 27 Nov 2023 21:01:53 +0000 (21:01 +0000)
Chases: 0bb574239d3b164596677bf4cec371ff0671dc4f
compositor: pass version in wlr_compositor_create

src/server.c
subprojects/wlroots.wrap

index c6be022ddac9e8bed65bacc8bd4c911eded6b99b..26a41634ca9835e97965454c31344717c891917e 100644 (file)
@@ -30,6 +30,8 @@
 #include "workspaces.h"
 #include "xwayland.h"
 
+#define LAB_WLR_COMPOSITOR_VERSION (5)
+
 static struct wlr_compositor *compositor;
 static struct wl_event_source *sighup_source;
 static struct wl_event_source *sigint_source;
@@ -330,8 +332,8 @@ server_init(struct server *server)
         * room for you to dig your fingers in and play with their behavior if
         * you want.
         */
-       compositor =
-               wlr_compositor_create(server->wl_display, server->renderer);
+       compositor = wlr_compositor_create(server->wl_display,
+               LAB_WLR_COMPOSITOR_VERSION, server->renderer);
        if (!compositor) {
                wlr_log(WLR_ERROR, "unable to create the wlroots compositor");
                exit(EXIT_FAILURE);
index 41b3132de91db50d1b974c621b7894804935237c..6003c8c1f2bc84999d149ba4539b0427461db83c 100644 (file)
@@ -1,6 +1,6 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 7b32c25a4fbdcde4197a06c8e0ff638c54753bd7
+revision = 0bb574239d3b164596677bf4cec371ff0671dc4f
 
 [provide]
 dependency_names = wlroots