mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +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
@ -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 New Issue
Block a user