From the XGetWindowProperty man page: 'If the returned format is 32, the property data will be stored as an array of longs (which in a 64-bit application will be 64-bit values that are padded in the upper 4 bytes).' But XLIB:GET-PROPERTY casts prop_return to a uint32 when actual_format is 64. Attached patch casts it to long instead, which fixes the issue at least on my amd64 machine.
This was the ultimate cause of the issue described here (and explains why other clx implementations were apparently unaffected): http://sourceforge.net/mailarchive/forum.php?thread_name=4A954322.80106%40gnu.org&forum_name=clisp-devel
Log in to post a comment.