[client] wayland: implement libdecor pseudo-shell backend

This allows decorations to be drawn on GNOME and other crazy compositors
that do not support server-side decorations.
This commit is contained in:
Quantum
2021-03-06 07:09:44 -05:00
committed by Geoffrey McRae
parent 82e107af8a
commit d6a290a31d
4 changed files with 138 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ static bool waylandInit(const LG_DSInitParams params)
wlWm.warpSupport = option_get_bool("wayland", "warpSupport");
wlWm.display = wl_display_connect(NULL);
wlWm.width = params.w;
wlWm.height = params.h;
if (!waylandPollInit())
return false;