aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/present/present_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/present/present_screen.c')
-rw-r--r--xorg-server/present/present_screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/present/present_screen.c b/xorg-server/present/present_screen.c
index 2702cd6ca..25ef6818d 100644
--- a/xorg-server/present/present_screen.c
+++ b/xorg-server/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);