From 74a1e4e83082635666feda5a00a468b4b47be0d6 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 19 Apr 2016 11:53:59 +0200 Subject: MULTIBUFFER: Drop all Xserver code blocks that relate to removed MULTIBUFFER extension. --- nx-X11/programs/Xserver/Xext/extmod/modinit.h | 6 ------ nx-X11/programs/Xserver/include/globals.h | 4 ---- nx-X11/programs/Xserver/mi/miinitext.c | 12 ------------ nx-X11/programs/Xserver/os/utils.c | 3 --- 4 files changed, 25 deletions(-) (limited to 'nx-X11/programs') diff --git a/nx-X11/programs/Xserver/Xext/extmod/modinit.h b/nx-X11/programs/Xserver/Xext/extmod/modinit.h index cc0638aed..10ec05a92 100644 --- a/nx-X11/programs/Xserver/Xext/extmod/modinit.h +++ b/nx-X11/programs/Xserver/Xext/extmod/modinit.h @@ -15,12 +15,6 @@ extern void ShapeExtensionInit(INITARGS); #include #endif -#ifdef MULTIBUFFER -extern void MultibufferExtensionInit(INITARGS); -#define _MULTIBUF_SERVER_ /* don't want Xlib structures */ -#include -#endif - #ifdef MITMISC extern void MITMiscExtensionInit(INITARGS); #define _MITMISC_SERVER_ diff --git a/nx-X11/programs/Xserver/include/globals.h b/nx-X11/programs/Xserver/include/globals.h index ca466f442..40a8d9f2d 100644 --- a/nx-X11/programs/Xserver/include/globals.h +++ b/nx-X11/programs/Xserver/include/globals.h @@ -89,10 +89,6 @@ extern Bool noMITShmExtension; extern Bool noMITMiscExtension; #endif -#ifdef MULTIBUFFER -extern Bool noMultibufferExtension; -#endif - #ifdef RANDR extern Bool noRRExtension; #endif diff --git a/nx-X11/programs/Xserver/mi/miinitext.c b/nx-X11/programs/Xserver/mi/miinitext.c index 3f4d138c0..c9865413d 100644 --- a/nx-X11/programs/Xserver/mi/miinitext.c +++ b/nx-X11/programs/Xserver/mi/miinitext.c @@ -105,9 +105,6 @@ extern Bool noMITShmExtension; #ifdef MITMISC extern Bool noMITMiscExtension; #endif -#ifdef MULTIBUFFER -extern Bool noMultibufferExtension; -#endif #ifdef RANDR extern Bool noRRExtension; #endif @@ -206,9 +203,6 @@ extern void ShapeExtensionInit(INITARGS); #ifdef MITSHM extern void ShmExtensionInit(INITARGS); #endif -#ifdef MULTIBUFFER -extern void MultibufferExtensionInit(INITARGS); -#endif #ifdef PANORAMIX extern void PanoramiXExtensionInit(INITARGS); #endif @@ -348,9 +342,6 @@ static ExtensionToggle ExtensionToggleList[] = #ifdef MITMISC { "MIT-SUNDRY-NONSTANDARD", &noMITMiscExtension }, #endif -#ifdef MULTIBUFFER - { "Multi-Buffering", &noMultibufferExtension }, -#endif #ifdef RANDR { "RANDR", &noRRExtension }, #endif @@ -453,9 +444,6 @@ InitExtensions(argc, argv) #ifdef MITSHM if (!noMITShmExtension) ShmExtensionInit(); #endif -#ifdef MULTIBUFFER - if (!noMultibufferExtension) MultibufferExtensionInit(); -#endif #if defined(XINPUT) && !defined(NO_HW_ONLY_EXTS) if (!noXInputExtension) XInputExtensionInit(); #endif diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c index d85ab83c8..25eff944f 100644 --- a/nx-X11/programs/Xserver/os/utils.c +++ b/nx-X11/programs/Xserver/os/utils.c @@ -180,9 +180,6 @@ Bool noMITShmExtension = FALSE; #ifdef MITMISC Bool noMITMiscExtension = FALSE; #endif -#ifdef MULTIBUFFER -Bool noMultibufferExtension = FALSE; -#endif #ifdef RANDR Bool noRRExtension = FALSE; #endif -- cgit v1.2.3