Change the protocol definition of X-Resource to use ATOMs.
authorPeter Harris <peter.harris@hummingbird.com>
Fri, 7 Dec 2007 22:23:53 +0000 (14:23 -0800)
committerBart Massey <bart@cs.pdx.edu>
Fri, 7 Dec 2007 22:23:53 +0000 (14:23 -0800)
src/res.xml

index b046ec2..d758d89 100644 (file)
@@ -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>