dmx: don't include dmx-config.h from xdmxconfig (#37502)
authorPeter Hutterer <peter.hutterer@who-t.net>
Sat, 26 Jan 2013 04:13:33 +0000 (14:13 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 8 Feb 2013 03:47:17 +0000 (13:47 +1000)
commit1058fcf57fdcb94d92e7b5f4483b347853d5f8e6
tree26e6dd8cf04d764573b0555b508e431f40bc0d01
parent7fe5e6dfa5c1e71d8b7540b28c1d508687a2fbee
dmx: don't include dmx-config.h from xdmxconfig (#37502)

dmx-config.h is a server header which includes dix-config.h. That again
defines a bunch of server-specifics, including setting the size of XID to
32 bit.

libX11 uses unsigned long (8 bits on x86_64). XGCValues thus ends up being
16 bytes smaller in xdmxconfig than in the library, causing garbage to be
sent to the server.

X.Org Bug 37502 <http://bugs.freedesktop.org/show_bug.cgi?id=37502>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
hw/dmx/config/xdmxconfig.c