Wrong information in WM standard
hp at pobox.com
Thu Oct 30 16:30:27 PDT 2008
On Wed, Oct 29, 2008 at 6:03 AM, Frank Schmitt <ich at frank-schmitt.net> wrote:
> When you look at
> it clearly states, that each pixel is represented by a 32 bit
> integer. In fact the data type is however CARDINAL. CARDINAL is long and
> long is 64 bit under Linux and therefore if you do something like
This 32/64 bit screwup is an Xlib historical mistake (bug) that can't
be fixed since it's now locked into the Xlib ABI, even though it is
one of the most common 64-bit portability problems for X apps.
But CARDINAL is always 32 bits in the protocol and thus in the wm
spec. The bug is in Xlib rather than the specs and protocol.
More information about the xdg