aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorJuan Zhao <juan.j.zhao@linux.intel.com>2012-02-07 09:38:10 +0800
committerKristian Høgsberg <krh@bitplanet.net>2012-02-16 15:49:03 -0500
commit2eddfce14bd282e60d2d928fe567f89c448ebd6e (patch)
tree414ab66b9e1d0b7c9fe8371f972e2cd1d11124ba /protocol
parentUse dist-xz for tarballs (diff)
downloadwayland-2eddfce14bd282e60d2d928fe567f89c448ebd6e.tar
wayland-2eddfce14bd282e60d2d928fe567f89c448ebd6e.tar.gz
wayland-2eddfce14bd282e60d2d928fe567f89c448ebd6e.tar.bz2
wayland-2eddfce14bd282e60d2d928fe567f89c448ebd6e.tar.lz
wayland-2eddfce14bd282e60d2d928fe567f89c448ebd6e.tar.xz
wayland-2eddfce14bd282e60d2d928fe567f89c448ebd6e.tar.zst
wayland-2eddfce14bd282e60d2d928fe567f89c448ebd6e.zip
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.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index c445d3f..6d86abc 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -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.