mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
Sync is built-in and mandatory.
This commit is contained in:
parent
3fcf4d3eb8
commit
f3ff238601
8 changed files with 7 additions and 44 deletions
|
|
@ -116,9 +116,6 @@ extern Bool noRenderExtension;
|
|||
#ifdef XCSECURITY
|
||||
extern Bool noSecurityExtension;
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
extern Bool noSyncExtension;
|
||||
#endif
|
||||
#ifdef RES
|
||||
extern Bool noResExtension;
|
||||
#endif
|
||||
|
|
@ -225,9 +222,7 @@ extern void ScreenSaverExtensionInit (INITARGS);
|
|||
extern void XvExtensionInit(INITARGS);
|
||||
extern void XvMCExtensionInit(INITARGS);
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
extern void SyncExtensionInit(INITARGS);
|
||||
#endif
|
||||
#ifdef XKB
|
||||
extern void XkbExtensionInit(INITARGS);
|
||||
#endif
|
||||
|
|
@ -336,9 +331,6 @@ static ExtensionToggle ExtensionToggleList[] =
|
|||
#ifdef XCSECURITY
|
||||
{ "SECURITY", &noSecurityExtension },
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
{ "SYNC", &noSyncExtension },
|
||||
#endif
|
||||
#ifdef RES
|
||||
{ "X-Resource", &noResExtension },
|
||||
#endif
|
||||
|
|
@ -442,9 +434,7 @@ InitExtensions(int argc, char *argv[])
|
|||
XvMCExtensionInit();
|
||||
}
|
||||
#endif
|
||||
#ifdef XSYNC
|
||||
if (!noSyncExtension) SyncExtensionInit();
|
||||
#endif
|
||||
SyncExtensionInit();
|
||||
#if defined(XKB)
|
||||
if (!noXkbExtension) XkbExtensionInit();
|
||||
#endif
|
||||
|
|
@ -532,6 +522,7 @@ static ExtensionModule staticExtensions[] = {
|
|||
#ifdef XIDLE
|
||||
{ XIdleExtensionInit, "XIDLE", &noXIdleExtension, NULL, NULL },
|
||||
#endif
|
||||
{ SyncExtensionInit, "SYNC", NULL, NULL, NULL },
|
||||
#ifdef XKB
|
||||
{ XkbExtensionInit, XkbName, &noXkbExtension, NULL, NULL },
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue