Commit 2eddfce1 authored by Juan Zhao's avatar Juan Zhao Committed by Kristian Høgsberg
Browse files

Add maximized protocol

A request from the client to ask the compositor to maximize the surface.
The compositor will reply with a configure event telling
the expected new surface size.  The operation is completed on the
next buffer attach to this surface.

A maximized client will fill the fullscreen of the output it is bound
to, except the panel area. This is the main difference between
a maximized shell surface and a fullscreen shell surface.
parent 7c6dac87
......@@ -451,6 +451,19 @@
<arg name="flags" type="uint"/>
</request>
<request name="set_maximized">
<description summary="make the surface a maximized surface">
A request from the client to notify the compositor the maximized
operation. The compositor will reply with a configure event telling
the expected new surface size. The operation is completed on the
next buffer attach to this surface.
A maximized client will fill the fullscreen of the output it is bound
to, except the panel area. This is the main difference between
a maximized shell surface and a fullscreen shell surface.
</description>
<arg name="output" type="object" interface="wl_output"/>
</request>
<event name="configure">
<description summary="suggest resize">
The configure event asks the client to resize its surface.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment