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

Barton C Massey bart at cs.pdx.edu
Fri Dec 7 14:28:18 PST 2007


Applied---thanks much!

BTW, anyone know where the "official" XRes documentation is?

In general, if anyone's written an extension that's in
xproto, could they please put an XML comment in there that
gives URIs for the "best known" version of the governing
specification?  (If you didn't write the extension, but know
where its docs are, that would be good too. :-)

Thanks much for all the help!

	Bart

In message <200712071633.54432.peter.harris at hummingbird.com> you wrote:
> 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
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list