summaryrefslogtreecommitdiff
path: root/protocol/desktop-shell.xml
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2014-02-11 19:14:47 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2014-02-11 19:14:47 +0100
commita94c970a8a3504970b745bc8132da28b13815cba (patch)
treee146d06afea282f9b041e03bef30d5dccf9147fa /protocol/desktop-shell.xml
parent478def9f72f2564eb82ff088985dd761839db41b (diff)
downloadgraynard-a94c970a8a3504970b745bc8132da28b13815cba.tar.gz
graynard-a94c970a8a3504970b745bc8132da28b13815cba.zip
desktop-shell: update protocol to version 3
Diffstat (limited to 'protocol/desktop-shell.xml')
-rw-r--r--protocol/desktop-shell.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/protocol/desktop-shell.xml b/protocol/desktop-shell.xml
index 65e44a7..caf1b16 100644
--- a/protocol/desktop-shell.xml
+++ b/protocol/desktop-shell.xml
@@ -1,6 +1,6 @@
<protocol name="desktop">
- <interface name="desktop_shell" version="2">
+ <interface name="desktop_shell" version="3">
<description summary="create desktop widgets and helpers">
Traditional user interfaces can rely on this interface to define the
foundations of typical desktops. Currently it's possible to set up
@@ -91,6 +91,24 @@
<entry name="busy" value="11"/>
</enum>
+
+ <!-- version 3 additions -->
+
+ <enum name="panel_position">
+ <entry name="top" value="0"/>
+ <entry name="bottom" value="1"/>
+ <entry name="left" value="2"/>
+ <entry name="right" value="3"/>
+ </enum>
+
+ <request name="set_panel_position" since="3">
+ <arg name="position" type="uint"/>
+ <description summary="set panel position">
+ Tell the shell which side of the screen the panel is
+ located. This is so that new windows do not overlap the panel
+ and maximized windows maximize properly.
+ </description>
+ </request>
</interface>
<interface name="screensaver" version="1">