summaryrefslogtreecommitdiff
path: root/composite
diff options
context:
space:
mode:
authorLuo Jie <luojie@nlsde.buaa.edu.cn>2007-05-24 11:01:15 -0700
committerEric Anholt <eric@anholt.net>2007-05-24 11:20:59 -0700
commit1f48995d66c0072caa7e5ce2845be642221dd56d (patch)
tree5da0a5ac6f114901b275448ec36a2b8e1a2fa33b /composite
parent8f98be7db303bc3db650054efb86843c70114451 (diff)
Fix build of composite, dix, and randr when Xinerama is disabled.
Diffstat (limited to 'composite')
-rw-r--r--composite/compext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/composite/compext.c b/composite/compext.c
index ba37e7d1f..bea8bcf23 100644
--- a/composite/compext.c
+++ b/composite/compext.c
@@ -696,11 +696,13 @@ CompositeExtensionInit (void)
if (GetPictureScreenIfSet(pScreen) == NULL)
return;
}
+#ifdef PANORAMIX
/* Xinerama's rewriting of window drawing before Composite gets to it
* breaks Composite.
*/
if (!noPanoramiXExtension)
return;
+#endif
CompositeClientWindowType = CreateNewResourceType (FreeCompositeClientWindow);
if (!CompositeClientWindowType)