[client] wayland: respect request to maximize window
Request the compositor to maximize the window if win:maximize=yes.
This commit is contained in:
1 parent
d0d1b31c10
commit
5dad69675b
1 file changed
+3
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user