[PATCH weston 8/9] shell: Install protocol for maximize menu button
Scott Moreau
oreaus at gmail.com
Thu Mar 7 20:47:17 PST 2013
---
protocol/desktop-shell.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/protocol/desktop-shell.xml b/protocol/desktop-shell.xml
index 51219d2..20e2eb9 100644
--- a/protocol/desktop-shell.xml
+++ b/protocol/desktop-shell.xml
@@ -87,6 +87,12 @@
The shell can use this interface to receive surface information or make
requests for this surface.
</description>
+ <request name="maximize">
+ <description summary="ask the compositor to maximize the surface"/>
+ </request>
+ <request name="unmaximize">
+ <description summary="ask the compositor to unmaximize the surface"/>
+ </request>
<request name="minimize">
<description summary="ask the compositor to minimize the surface"/>
</request>
@@ -113,6 +119,10 @@
<description summary="send the surface object title to the shell"/>
<arg name="title" type="string"/>
</event>
+ <event name="maximized">
+ <description summary="send the surface object maximize state to the shell"/>
+ <arg name="maximized" type="int"/>
+ </event>
<event name="minimized">
<description summary="send the surface object minimize state to the shell"/>
<arg name="minimized" type="int"/>
--
1.7.10.4
More information about the wayland-devel
mailing list