[Xcb] [PATCH proto 7/7 v2] res: Add ClientIdMask enum
Daniel Martin
consume.noise at gmail.com
Tue Jun 4 12:29:32 PDT 2013
And make use of it in ClientIdSpec.
v2: use <bit/> instead of <value/> in the enum
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..17e6f83 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"> <bit>0</bit> </item>
+ <item name="LocalClientPID"> <bit>1</bit> </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.3
More information about the Xcb
mailing list