[PATCH weston] xdg-shell: add description tags where missing

Jonny Lamb jonny.lamb at collabora.co.uk
Mon Feb 24 08:49:47 PST 2014


wayland.dtd specifies the use of the description tags inside entry and
description so let's use them.
---
 protocol/xdg-shell.xml | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index a2913c4..f88db49 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -300,12 +300,16 @@
         0x1000 - 0x1FFF: GNOME
       </description>
       <entry name="maximized" value="1" summary="the surface is maximized">
-        A non-zero value indicates the surface is maximized. Otherwise,
-        the surface is unmaximized.
+        <description>
+          A non-zero value indicates the surface is maximized. Otherwise,
+          the surface is unmaximized.
+        </description>
       </entry>
       <entry name="fullscreen" value="2" summary="the surface is fullscreen">
-        A non-zero value indicates the surface is fullscreen. Otherwise,
-        the surface is not fullscreen.
+        <description>
+          A non-zero value indicates the surface is fullscreen. Otherwise,
+          the surface is not fullscreen.
+        </description>
       </entry>
     </enum>
 
@@ -322,8 +326,10 @@
       <arg name="state_type" type="uint" summary="the state to set"/>
       <arg name="value" type="uint" summary="the value to change the state to"/>
       <arg name="serial" type="uint" summary="an event serial">
-        This serial is so the client can know which change_state event corresponds
-        to which request_change_state request it sent out.
+        <description>
+          This serial is so the client can know which change_state event corresponds
+          to which request_change_state request it sent out.
+        </description>
       </arg>
     </request>
 
-- 
1.9.0



More information about the wayland-devel mailing list