summaryrefslogtreecommitdiff
path: root/composite
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-03-27 13:12:21 -0700
committerEric Anholt <eric@anholt.net>2007-03-27 17:34:00 -0700
commit0bfc3cc22db94ec6867596606fe93228e315c847 (patch)
tree0f94ef6b6b620760af7d36eb6c24ab0a66fc803a /composite
parent5e7936371c9e1ac48e19bf1e9e3f71f037fd9b5d (diff)
Disable composite when Xinerama is active.
It will likely take a decent bit of work to make that work right.
Diffstat (limited to 'composite')
-rw-r--r--composite/compext.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/composite/compext.c b/composite/compext.c
index af05b4a65..ba37e7d1f 100644
--- a/composite/compext.c
+++ b/composite/compext.c
@@ -696,6 +696,11 @@ CompositeExtensionInit (void)
if (GetPictureScreenIfSet(pScreen) == NULL)
return;
}
+ /* Xinerama's rewriting of window drawing before Composite gets to it
+ * breaks Composite.
+ */
+ if (!noPanoramiXExtension)
+ return;
CompositeClientWindowType = CreateNewResourceType (FreeCompositeClientWindow);
if (!CompositeClientWindowType)