mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-24 22:37:19 +00:00
[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:
parent
f05151c9a6
commit
537218d6ae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user