mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-18 18:48:10 +00:00
[client] wayland: respect request to maximize window
Request the compositor to maximize the window if win:maximize=yes.
This commit is contained in:
parent
d0d1b31c10
commit
5dad69675b
1 changed files with 3 additions and 0 deletions
|
@ -523,6 +523,9 @@ static bool waylandInit(const LG_DSInitParams params)
|
|||
if (params.fullscreen)
|
||||
xdg_toplevel_set_fullscreen(wm.xdgToplevel, NULL);
|
||||
|
||||
if (params.maximize)
|
||||
xdg_toplevel_set_maximized(wm.xdgToplevel);
|
||||
|
||||
wl_surface_commit(wm.surface);
|
||||
|
||||
struct wl_buffer * cursorBuffer = createCursorBuffer();
|
||||
|
|
Loading…
Reference in a new issue