[PATCH 02/14] dri2: Disable when Xinerama is active

Adam Jackson ajax at redhat.com
Thu Nov 21 14:43:15 PST 2013


Would only work on ScreenRec 0, which means it's broken.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 hw/xfree86/dri2/dri2ext.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hw/xfree86/dri2/dri2ext.c b/hw/xfree86/dri2/dri2ext.c
index e1decec..ffd66fa 100644
--- a/hw/xfree86/dri2/dri2ext.c
+++ b/hw/xfree86/dri2/dri2ext.c
@@ -672,6 +672,11 @@ DRI2ExtensionInit(void)
 {
     ExtensionEntry *dri2Extension;
 
+#ifdef PANORAMIX
+    if (!noPanoramiXExtension)
+        return;
+#endif
+
     dri2Extension = AddExtension(DRI2_NAME,
                                  DRI2NumberEvents,
                                  DRI2NumberErrors,
-- 
1.8.4.2



More information about the xorg-devel mailing list