[client] wayland: honour fullscreen and maximize in libdecor

We never added the functionality when the parameters were passed to
libdecor_shellInit.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2023-12-22 14:08:48 +11:00
1 parent f05151c9a6
commit 537218d6ae
1 file changed
+6
@@ -141,6 +141,12 @@ static bool libdecor_shellInit(
libdecor_frame_set_title(state.libdecorFrame, title);
libdecor_frame_map(state.libdecorFrame);
if (fullscreen)
libdecor_frame_set_fullscreen(state.libdecorFrame, NULL);
if (maximize)
libdecor_frame_set_minimized(state.libdecorFrame);
if (resizable)
libdecor_frame_set_capabilities(state.libdecorFrame,
LIBDECOR_ACTION_RESIZE);