[Xcb] [PATCH] Change the protocol definition of X-Resource to use ATOMs.

Peter Harris peter.harris at hummingbird.com
Fri Dec 7 13:33:54 PST 2007


Change the protocol definition of X-Resource to use ATOMs.

---
 src/res.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/res.xml b/src/res.xml
index b046ec2..d758d89 100644
--- a/src/res.xml
+++ b/src/res.xml
@@ -27,13 +27,15 @@ authorization from the authors.
 -->
 <xcb header="res" extension-xname="X-Resource" extension-name="Res"
     major-version="1" minor-version="0">
+    <import>xproto</import>
+
     <struct name="Client">
         <field type="CARD32" name="resource_base" />
         <field type="CARD32" name="resource_mask" />
     </struct>
 
     <struct name="Type">
-        <field type="CARD32" name="resource_type" />
+        <field type="ATOM" name="resource_type" />
         <field type="CARD32" name="count" />
     </struct>
 
-- 
1.5.3.7

-- 
     Hummingbird Connectivity - A Division of Open Text
Peter Harris                    http://connectivity.hummingbird.com
Research and Development        Phone: +1 905 762 6001
peter.harris at hummingbird.com    Toll Free: 1 877 359 4866


More information about the Xcb mailing list