From d05c14e8f72e83b27f80976a7ea3c97dc2dd0548 Mon Sep 17 00:00:00 2001 From: daniel <193309918+danielfikko@users.noreply.github.com> Date: Sat, 30 May 2026 02:19:14 -0300 Subject: [PATCH] cage: advertise xdg-decoration-v1 version 2 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5385 https://github.com/swaywm/sway/pull/9171 --- cage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cage.c b/cage.c index b2523ca..038f343 100644 --- a/cage.c +++ b/cage.c @@ -450,7 +450,7 @@ main(int argc, char *argv[]) wl_signal_add(&xdg_shell->events.new_popup, &server.new_xdg_popup); struct wlr_xdg_decoration_manager_v1 *xdg_decoration_manager = - wlr_xdg_decoration_manager_v1_create(server.wl_display); + wlr_xdg_decoration_manager_v1_create(server.wl_display, 2); if (!xdg_decoration_manager) { wlr_log(WLR_ERROR, "Unable to create the XDG decoration manager"); ret = 1;