summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--randr/rrxinerama.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/randr/rrxinerama.c b/randr/rrxinerama.c
index 1db27f14c..2a57e4e32 100644
--- a/randr/rrxinerama.c
+++ b/randr/rrxinerama.c
@@ -428,6 +428,14 @@ RRXineramaExtensionInit(void)
return;
#endif
+ /*
+ * Xinerama isn't capable enough to have multiple protocol screens each
+ * with their own output geometry. So if there's more than one protocol
+ * screen, just don't even try.
+ */
+ if (screenInfo.numScreens > 1)
+ return;
+
(void) AddExtension(PANORAMIX_PROTOCOL_NAME, 0,0,
ProcRRXineramaDispatch,
SProcRRXineramaDispatch,