mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:52:57 +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
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue