summaryrefslogtreecommitdiff
path: root/present
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2013-11-08 09:06:59 -0500
committerAdam Jackson <ajax@redhat.com>2013-12-09 13:20:36 -0500
commit2bf92108294805c5c6fef249c2f7de6ecf4975d8 (patch)
treec8912feccd3e5b606a29d81d9f758c2226a74f5d /present
parentac772cb187ddf7e04b8f4b3a071b90f18f4488d0 (diff)
present: Disable when Xinerama is active
Among much else Present depends on RANDR types, and RANDR isn't properly Xinerama-aware yet anyway. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'present')
-rw-r--r--present/present_screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/present/present_screen.c b/present/present_screen.c
index 2702cd6ca..25ef6818d 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);