Window datatype on 32 and 64 bit systems

Samuel Thibault samuel.thibault at
Fri Mar 14 05:44:20 PDT 2008

rarob at, le Fri 14 Mar 2008 12:38:16 +0000, a écrit :
>   I've got a question regarding how the Window X11 datatype works on 32 and 64 
> bit systems.

The upper 3 bits of a Window ID (which is 32 bits) are always 0. So a
Window ID can always fit in a 32bit integer, even if it is signed, and
even shifted left 2 bits.


More information about the xorg mailing list