diff --git a/src/server.c b/src/server.c index c6be022d..26a41634 100644 --- a/src/server.c +++ b/src/server.c @@ -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); diff --git a/subprojects/wlroots.wrap b/subprojects/wlroots.wrap index 41b3132d..6003c8c1 100644 --- a/subprojects/wlroots.wrap +++ b/subprojects/wlroots.wrap @@ -1,6 +1,6 @@ [wrap-git] url = https://gitlab.freedesktop.org/wlroots/wlroots.git -revision = 7b32c25a4fbdcde4197a06c8e0ff638c54753bd7 +revision = 0bb574239d3b164596677bf4cec371ff0671dc4f [provide] dependency_names = wlroots