From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 24 Jan 2023 02:35:13 +0000 (+0100) Subject: Chase wlroots: Layershell version X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=b4fc72b4609e82119bf8e6eb84d320a4eb96b404;p=proto%2Flabwc.git Chase wlroots: Layershell version Chases 9f793d350379872aeee56ea5c476adfeedc8bc88 layer-shell-v1: specify version in constructor --- diff --git a/src/layers.c b/src/layers.c index a55e8a50..634e3727 100644 --- a/src/layers.c +++ b/src/layers.c @@ -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); diff --git a/subprojects/wlroots.wrap b/subprojects/wlroots.wrap index 70fbd695..bbd05642 100644 --- a/subprojects/wlroots.wrap +++ b/subprojects/wlroots.wrap @@ -1,6 +1,6 @@ [wrap-git] url = https://gitlab.freedesktop.org/wlroots/wlroots.git -revision = 5b23987349dde587100c792bb6d180c930e6f2bd +revision = 9f793d350379872aeee56ea5c476adfeedc8bc88 [provide] dependency_names = wlroots