Mihai Moldovan <io...@ionic.de> writes: > Sounds sane. Reverting to the initially intended BOOL type would cause > breakage, > but using CARD32 + swapl() would leave the struct size consistent and fix the > issue in newer versions.
I've posted patches for xcb/proto, xorgproto and the X server. For the X server, I've also added a hack to keep old XCB clients on LSB machines working by only using the low byte of the 4-byte value. There's not much we can do for old XCB clients on MSB machines; the true value will be in the high byte, whereas Xlib clients using the same version will be in the low byte. Of course, this changes the API for xcb, which used to use uint8_t and now uses uint32_t. That doesn't change the ABI on any 32-bit int or larger machine as the uint8_t would be passed in the same size object as the uint32_t, and the X server will be ignoring the high three bytes. Review is encouraged. -- -keith
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel