aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/mi
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-04-19 11:56:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-01 11:07:46 +0200
commite142314433d9de8a3fcf1c4ee801f350b32b57e2 (patch)
tree21b0511b856b3e28cd3ec8f8c6f72d3977f04179 /nx-X11/programs/Xserver/mi
parent74a1e4e83082635666feda5a00a468b4b47be0d6 (diff)
downloadnx-libs-e142314433d9de8a3fcf1c4ee801f350b32b57e2.tar.gz
nx-libs-e142314433d9de8a3fcf1c4ee801f350b32b57e2.tar.bz2
nx-libs-e142314433d9de8a3fcf1c4ee801f350b32b57e2.zip
XF86VIDMODE: Drop all Xserver code blocks that relate to removed XF86VIDMODE extension.
Diffstat (limited to 'nx-X11/programs/Xserver/mi')
-rw-r--r--nx-X11/programs/Xserver/mi/Imakefile4
-rw-r--r--nx-X11/programs/Xserver/mi/miinitext.c12
2 files changed, 2 insertions, 14 deletions
diff --git a/nx-X11/programs/Xserver/mi/Imakefile b/nx-X11/programs/Xserver/mi/Imakefile
index 4f87dec8e..185e57a28 100644
--- a/nx-X11/programs/Xserver/mi/Imakefile
+++ b/nx-X11/programs/Xserver/mi/Imakefile
@@ -76,12 +76,12 @@ OBJS = $(CBRT_OBJ) mivaltree.o mipolyseg.o mipolyrect.o \
* don't use the XF86 module loader.
*/
-EXT_DEFINES = ExtensionDefines -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
+EXT_DEFINES = ExtensionDefines -UXFreeXDGA -UXF86MISC \
-UXFree86LOADER
#else
-EXT_DEFINES = ExtensionDefines -UXINPUT -UXF86VIDMODE -UXFreeXDGA -UXF86MISC \
+EXT_DEFINES = ExtensionDefines -UXINPUT -UXFreeXDGA -UXF86MISC \
-UXFree86LOADER
#endif
diff --git a/nx-X11/programs/Xserver/mi/miinitext.c b/nx-X11/programs/Xserver/mi/miinitext.c
index c9865413d..a195b6a26 100644
--- a/nx-X11/programs/Xserver/mi/miinitext.c
+++ b/nx-X11/programs/Xserver/mi/miinitext.c
@@ -138,9 +138,6 @@ extern Bool noXFree86DRIExtension;
#ifdef XF86MISC
extern Bool noXFree86MiscExtension;
#endif
-#ifdef XF86VIDMODE
-extern Bool noXFree86VidModeExtension;
-#endif
#ifdef XFIXES
extern Bool noXFixesExtension;
#endif
@@ -252,9 +249,6 @@ extern void SecurityExtensionInit(INITARGS);
#ifdef XF86BIGFONT
extern void XFree86BigfontExtensionInit(INITARGS);
#endif
-#ifdef XF86VIDMODE
-extern void XFree86VidModeExtensionInit(INITARGS);
-#endif
#ifdef XF86MISC
extern void XFree86MiscExtensionInit(INITARGS);
#endif
@@ -375,9 +369,6 @@ static ExtensionToggle ExtensionToggleList[] =
#ifdef XF86MISC
{ "XFree86-Misc", &noXFree86MiscExtension },
#endif
-#ifdef XF86VIDMODE
- { "XFree86-VidModeExtension", &noXFree86VidModeExtension },
-#endif
#ifdef XFIXES
{ "XFIXES", &noXFixesExtension },
#endif
@@ -496,9 +487,6 @@ InitExtensions(argc, argv)
if (!noXFree86BigfontExtension) XFree86BigfontExtensionInit();
#endif
#if !defined(PRINT_ONLY_SERVER) && !defined(NO_HW_ONLY_EXTS)
-#if defined(XF86VIDMODE)
- if (!noXFree86VidModeExtension) XFree86VidModeExtensionInit();
-#endif
#if defined(XF86MISC)
if (!noXFree86MiscExtension) XFree86MiscExtensionInit();
#endif