XC-MISC is built-in and mandatory.
This commit is contained in:
parent
9757106bba
commit
3fcf4d3eb8
|
@ -24,13 +24,13 @@ BUILTIN_SRCS = \
|
||||||
shape.c \
|
shape.c \
|
||||||
sleepuntil.c \
|
sleepuntil.c \
|
||||||
sleepuntil.h \
|
sleepuntil.h \
|
||||||
|
xcmisc.c \
|
||||||
xtest.c \
|
xtest.c \
|
||||||
geext.c
|
geext.c
|
||||||
|
|
||||||
# Sources always included in libXextmodule.la & libXext.la
|
# Sources always included in libXextmodule.la & libXext.la
|
||||||
MODULE_SRCS = \
|
MODULE_SRCS = \
|
||||||
sync.c \
|
sync.c
|
||||||
xcmisc.c
|
|
||||||
|
|
||||||
# Optional sources included if extension enabled by configure.ac rules
|
# Optional sources included if extension enabled by configure.ac rules
|
||||||
|
|
||||||
|
|
|
@ -83,15 +83,6 @@ static ExtensionModule extensionModules[] = {
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#ifdef XCMISC
|
|
||||||
{
|
|
||||||
XCMiscExtensionInit,
|
|
||||||
XCMiscExtensionName,
|
|
||||||
&noXCMiscExtension,
|
|
||||||
NULL,
|
|
||||||
NULL
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
#ifdef XF86VIDMODE
|
#ifdef XF86VIDMODE
|
||||||
{
|
{
|
||||||
XFree86VidModeExtensionInit,
|
XFree86VidModeExtensionInit,
|
||||||
|
|
|
@ -39,11 +39,6 @@ extern void ScreenSaverExtensionInit (INITARGS);
|
||||||
#include <X11/extensions/saver.h>
|
#include <X11/extensions/saver.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XCMISC
|
|
||||||
extern void XCMiscExtensionInit(INITARGS);
|
|
||||||
#include <X11/extensions/xcmiscstr.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef XF86VIDMODE
|
#ifdef XF86VIDMODE
|
||||||
extern void XFree86VidModeExtensionInit(INITARGS);
|
extern void XFree86VidModeExtensionInit(INITARGS);
|
||||||
#define _XF86VIDMODE_SERVER_
|
#define _XF86VIDMODE_SERVER_
|
||||||
|
|
|
@ -378,9 +378,6 @@ _X_HIDDEN void *dixLookupTab[] = {
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
SYMVAR(noResExtension)
|
SYMVAR(noResExtension)
|
||||||
#endif
|
#endif
|
||||||
#ifdef XCMISC
|
|
||||||
SYMVAR(noXCMiscExtension)
|
|
||||||
#endif
|
|
||||||
#ifdef XEVIE
|
#ifdef XEVIE
|
||||||
SYMVAR(noXevieExtension)
|
SYMVAR(noXevieExtension)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -97,10 +97,6 @@ extern Bool noSyncExtension;
|
||||||
extern Bool noResExtension;
|
extern Bool noResExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XCMISC
|
|
||||||
extern Bool noXCMiscExtension;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef XEVIE
|
#ifdef XEVIE
|
||||||
extern Bool noXevieExtension;
|
extern Bool noXevieExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -122,9 +122,6 @@ extern Bool noSyncExtension;
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
extern Bool noResExtension;
|
extern Bool noResExtension;
|
||||||
#endif
|
#endif
|
||||||
#ifdef XCMISC
|
|
||||||
extern Bool noXCMiscExtension;
|
|
||||||
#endif
|
|
||||||
#ifdef XEVIE
|
#ifdef XEVIE
|
||||||
extern Bool noXevieExtension;
|
extern Bool noXevieExtension;
|
||||||
#endif
|
#endif
|
||||||
|
@ -234,9 +231,7 @@ extern void SyncExtensionInit(INITARGS);
|
||||||
#ifdef XKB
|
#ifdef XKB
|
||||||
extern void XkbExtensionInit(INITARGS);
|
extern void XkbExtensionInit(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef XCMISC
|
|
||||||
extern void XCMiscExtensionInit(INITARGS);
|
extern void XCMiscExtensionInit(INITARGS);
|
||||||
#endif
|
|
||||||
#ifdef XRECORD
|
#ifdef XRECORD
|
||||||
extern void RecordExtensionInit(INITARGS);
|
extern void RecordExtensionInit(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
|
@ -347,9 +342,6 @@ static ExtensionToggle ExtensionToggleList[] =
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
{ "X-Resource", &noResExtension },
|
{ "X-Resource", &noResExtension },
|
||||||
#endif
|
#endif
|
||||||
#ifdef XCMISC
|
|
||||||
{ "XC-MISC", &noXCMiscExtension },
|
|
||||||
#endif
|
|
||||||
#ifdef XEVIE
|
#ifdef XEVIE
|
||||||
{ "XEVIE", &noXevieExtension },
|
{ "XEVIE", &noXevieExtension },
|
||||||
#endif
|
#endif
|
||||||
|
@ -456,9 +448,7 @@ InitExtensions(int argc, char *argv[])
|
||||||
#if defined(XKB)
|
#if defined(XKB)
|
||||||
if (!noXkbExtension) XkbExtensionInit();
|
if (!noXkbExtension) XkbExtensionInit();
|
||||||
#endif
|
#endif
|
||||||
#ifdef XCMISC
|
XCMiscExtensionInit();
|
||||||
if (!noXCMiscExtension) XCMiscExtensionInit();
|
|
||||||
#endif
|
|
||||||
#ifdef XRECORD
|
#ifdef XRECORD
|
||||||
if (!noTestExtensions) RecordExtensionInit();
|
if (!noTestExtensions) RecordExtensionInit();
|
||||||
#endif
|
#endif
|
||||||
|
@ -545,6 +535,7 @@ static ExtensionModule staticExtensions[] = {
|
||||||
#ifdef XKB
|
#ifdef XKB
|
||||||
{ XkbExtensionInit, XkbName, &noXkbExtension, NULL, NULL },
|
{ XkbExtensionInit, XkbName, &noXkbExtension, NULL, NULL },
|
||||||
#endif
|
#endif
|
||||||
|
{ XCMiscExtensionInit, "XC-MISC", NULL, NULL, NULL },
|
||||||
#ifdef XCSECURITY
|
#ifdef XCSECURITY
|
||||||
{ SecurityExtensionInit, SECURITY_EXTENSION_NAME, &noSecurityExtension, NULL, NULL },
|
{ SecurityExtensionInit, SECURITY_EXTENSION_NAME, &noSecurityExtension, NULL, NULL },
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -165,9 +165,6 @@ _X_EXPORT Bool noSyncExtension = FALSE;
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
_X_EXPORT Bool noResExtension = FALSE;
|
_X_EXPORT Bool noResExtension = FALSE;
|
||||||
#endif
|
#endif
|
||||||
#ifdef XCMISC
|
|
||||||
_X_EXPORT Bool noXCMiscExtension = FALSE;
|
|
||||||
#endif
|
|
||||||
#ifdef XEVIE
|
#ifdef XEVIE
|
||||||
/* Xevie is disabled by default for now until the
|
/* Xevie is disabled by default for now until the
|
||||||
* interface is stable */
|
* interface is stable */
|
||||||
|
|
Loading…
Reference in New Issue