[Xcb] [PATCH proto 08/18] shape: Use explicit enum value

Daniel Martin consume.noise at gmail.com
Sun Aug 18 07:54:08 PDT 2013


Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 src/shape.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/shape.xml b/src/shape.xml
index c128ade..d75549e 100644
--- a/src/shape.xml
+++ b/src/shape.xml
@@ -34,18 +34,18 @@ <xcb header="shape" extension-xname="SHAPE" extension-name="Shape" major-version
 
   <!-- Shape attributes of type OP. -->
   <enum name="SO">
-    <item name="Set" />
-    <item name="Union" />
-    <item name="Intersect" />
-    <item name="Subtract" />
-    <item name="Invert" />
+    <item name="Set">       <value>0</value> </item>
+    <item name="Union">     <value>1</value> </item>
+    <item name="Intersect"> <value>2</value> </item>
+    <item name="Subtract">  <value>3</value> </item>
+    <item name="Invert">    <value>4</value> </item>
   </enum>
 
   <!-- Shape attributes of type KIND. -->
   <enum name="SK">
-    <item name="Bounding" />
-    <item name="Clip" />
-    <item name="Input" />      <!-- added in version 1.1 -->
+    <item name="Bounding"> <value>0</value> </item>
+    <item name="Clip">     <value>1</value> </item>
+    <item name="Input">    <value>2</value> </item>      <!-- added in version 1.1 -->
   </enum>
 
   <event name="Notify" number="0">
-- 
1.8.3.3



More information about the Xcb mailing list