[Xcb] [PATCH proto 7/7] res: Add ClientIdMask enum

Daniel Martin consume.noise at gmail.com
Mon May 27 10:20:33 PDT 2013


And make use of it in ClientIdSpec.

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

diff --git a/src/res.xml b/src/res.xml
index a5d1d8f..11a9ce6 100644
--- a/src/res.xml
+++ b/src/res.xml
@@ -41,9 +41,14 @@ <struct name="Type">
     </struct>
 
     <!-- v1.2 -->
+    <enum name="ClientIdMask">
+        <item name="ClientXID">      <value>1</value> </item>
+        <item name="LocalClientPID"> <value>2</value> </item>
+    </enum>
+
     <struct name="ClientIdSpec">
         <field type="CARD32" name="client" />
-        <field type="CARD32" name="mask" />
+        <field type="CARD32" name="mask" mask="ClientIdMask" />
     </struct>
 
     <struct name="ClientIdValue">
-- 
1.8.2.1



More information about the Xcb mailing list