From cdc15e2294a9bffc570e33bc31170081abfc55fb Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 9 Jun 2005 02:29:42 +0000 Subject: Bug #1846: Add intentionally undocumented -disablexineramaextension flag to the server to work around ignorant clients on large display walls. (Kevin E. Martin) --- Xext/panoramiX.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Xext') diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 67cb7c943..5eb5c1f3c 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -1037,7 +1037,16 @@ ProcXineramaIsActive(ClientPtr client) rep.type = X_Reply; rep.length = 0; rep.sequenceNumber = client->sequence; +#if 1 + { + /* The following hack fools clients into thinking that Xinerama + * is disabled even though it is not. */ + extern Bool PanoramiXExtensionDisabledHack; + rep.state = !noPanoramiXExtension && !PanoramiXExtensionDisabledHack; + } +#else rep.state = !noPanoramiXExtension; +#endif if (client->swapped) { register int n; swaps (&rep.sequenceNumber, n); -- cgit v1.2.3