From 8b74d4165c62c9b5b5c84ef92485a8ff8ae600e8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 26 Jan 2013 14:13:33 +1000 Subject: [PATCH] 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 Signed-off-by: Peter Hutterer --- hw/dmx/config/xdmxconfig.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/dmx/config/xdmxconfig.c b/hw/dmx/config/xdmxconfig.c index f308412..2121dd7 100644 --- a/hw/dmx/config/xdmxconfig.c +++ b/hw/dmx/config/xdmxconfig.c @@ -31,9 +31,6 @@ * */ -#ifdef HAVE_DMX_CONFIG_H -#include -#endif #include #include -- 1.8.1