Window datatype on 32 and 64 bit systems

rarob at rarob at
Fri Mar 14 07:15:18 PDT 2008

Yep.  Turns out (given the limit of XID to 29 significant bits) our code is doing the safe thing
(correctness somewhat aside) with the wrappers.  Thanks for the help...


 -------------- Original message ----------------------
From: Samuel Thibault <samuel.thibault at>
> rarob at, le Fri 14 Mar 2008 13:50:55 +0000, a écrit :
> > I get an 8.  When compiled with 'gcc -E' I see that X11/X.h is defining XID 
> as:
> > typedef unsigned long XID;
> Ooh, right, you are compiling applications, not the server, right?  In
> that case XID can be unsigned long indeed.
> Samuel

More information about the xorg mailing list