[PATCH xinput] Handle XA_CARDINAL as property type

Chase Douglas chase.douglas at canonical.com
Tue Feb 21 04:07:46 PST 2012


On 02/21/2012 12:33 PM, Daniel Stone wrote:
> Hi,
> 
> On 21 February 2012 11:29, Chase Douglas <chase.douglas at canonical.com> wrote:
>> I don't really know what XA_CARDINAL means. Where is it defined.
> 
> It's defined in Xatom.h (using cscope might be handy here - vim -t
> XA_CARDINAL from any of my X source trees takes me to the definition),

Yes, though the C definition itself tells me nothing :).

> and means that the contents are a cardinal (as in, CARD{8,16,32}, as
> in unsigned integer value).

Where's the documentation for the type, though, so I can figure out if
how Peter determines the correct CARD* type is correct?

-- Chase


More information about the xorg-devel mailing list