[Xcb] [PATCH proto 07/18] screensaver: Use explicit enum value

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


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

diff --git a/src/screensaver.xml b/src/screensaver.xml
index 7449c0a..491869e 100644
--- a/src/screensaver.xml
+++ b/src/screensaver.xml
@@ -36,9 +36,9 @@ <xcb header="screensaver" extension-xname="MIT-SCREEN-SAVER" extension-name="Scr
   <import>xproto</import>
 
   <enum name="Kind">
-    <item name="Blanked" />
-    <item name="Internal" />
-    <item name="External" />
+    <item name="Blanked">  <value>0</value> </item>
+    <item name="Internal"> <value>1</value> </item>
+    <item name="External"> <value>2</value> </item>
   </enum>
 
   <enum name="Event">
@@ -47,10 +47,10 @@ <enum name="Event">
   </enum>
 
   <enum name="State">
-    <item name="Off" />
-    <item name="On" />
-    <item name="Cycle" />
-    <item name="Disabled" />
+    <item name="Off">      <value>0</value> </item>
+    <item name="On">       <value>1</value> </item>
+    <item name="Cycle">    <value>2</value> </item>
+    <item name="Disabled"> <value>3</value> </item>
   </enum>
 
   <!-- Errors -->
-- 
1.8.3.3



More information about the Xcb mailing list