It seems that the problem is in the added swallow mutex stuff on a 64-bit system, where an unsigned long is 64 bits but the mutex only stores 32-bit values.
From the XGetWindowProperty manpage: 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) -- Martin Orr
signature.asc
Description: OpenPGP digital signature