[PATCH] present: Disable when Xinerama is active

Adam Jackson ajax at redhat.com
Fri Nov 8 06:08:15 PST 2013


Among much else Present depends on RANDR types, and RANDR isn't properly
Xinerama-aware yet anyway.

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

diff --git a/present/present_screen.c b/present/present_screen.c
index 50b2b2d..b5fbccb 100644
--- a/present/present_screen.c
+++ b/present/present_screen.c
@@ -206,6 +206,11 @@ present_extension_init(void)
     ExtensionEntry *extension;
     int i;
 
+#ifdef PANORAMIX
+    if (!noPanoramiXExtension)
+        return;
+#endif
+
     extension = AddExtension(PRESENT_NAME, PresentNumberEvents, PresentNumberErrors,
                              proc_present_dispatch, sproc_present_dispatch,
                              NULL, StandardMinorOpcode);
-- 
1.8.3.1



More information about the xorg-devel mailing list