cage: advertise xdg-decoration-v1 version 2

References:

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5385

https://github.com/swaywm/sway/pull/9171
This commit is contained in:
daniel 2026-05-30 02:19:14 -03:00
parent 79e1e0dfaa
commit d05c14e8f7

2
cage.c
View file

@ -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;