[PATCH RFC] xdg-shell: Add tiled states

Olivier Fourdan ofourdan at redhat.com
Wed Jun 1 09:18:59 UTC 2016


When tiled, clients must obey the window geometry specified in the
configure event and can choose to hide some of their decorations.

Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
---
 unstable/xdg-shell/xdg-shell-unstable-v6.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/unstable/xdg-shell/xdg-shell-unstable-v6.xml b/unstable/xdg-shell/xdg-shell-unstable-v6.xml
index ce57153..550a0e5 100644
--- a/unstable/xdg-shell/xdg-shell-unstable-v6.xml
+++ b/unstable/xdg-shell/xdg-shell-unstable-v6.xml
@@ -343,6 +343,33 @@
 	  active. Do not assume this means that the window actually has
 	  keyboard or pointer focus.
 	</description>
+      <entry name="tiled_on_top" value="5" summary="the surface is tiled on its top edge">
+	<description summary="the surface is tiled on its top side">
+	  The top side of the surface is tiled, either to another surface
+	  or a monitor edge. The window geometry specified in the configure
+	  event must be obeyed by the client.
+	</description>
+      </entry>
+      <entry name="tiled_on_bottom" value="6" summary="the surface is tiled on its bottom edge">
+	<description summary="the surface is tiled on its bottom side">
+	  The bottom side of the surface is tiled, either to another surface
+	  or a monitor edge. The window geometry specified in the configure
+	  event must be obeyed by the client.
+	</description>
+      </entry>
+      <entry name="tiled_on_left" value="7" summary="the surface is tiled on its left edge">
+	<description summary="the surface is tiled on its left side">
+	  The left side of the surface is tiled, either to another surface
+	  or a monitor edge. The window geometry specified in the configure
+	  event must be obeyed by the client.
+	</description>
+      </entry>
+      <entry name="tiled_on_right" value="8" summary="the surface is tiled on its right edge">
+	<description summary="the surface is tiled on its right side">
+	  TThe right side of the surface is tiled, either to another surface
+	  or a monitor edge. The window geometry specified in the configure
+	  event must be obeyed by the client.
+	</description>
       </entry>
     </enum>
 
-- 
2.7.4



More information about the wayland-devel mailing list