Sync is built-in and mandatory.
This commit is contained in:
parent
3fcf4d3eb8
commit
f3ff238601
|
@ -21,16 +21,16 @@ endif
|
||||||
# Sources always included in libXextbuiltin.la & libXext.la
|
# Sources always included in libXextbuiltin.la & libXext.la
|
||||||
BUILTIN_SRCS = \
|
BUILTIN_SRCS = \
|
||||||
bigreq.c \
|
bigreq.c \
|
||||||
|
geext.c \
|
||||||
shape.c \
|
shape.c \
|
||||||
sleepuntil.c \
|
sleepuntil.c \
|
||||||
sleepuntil.h \
|
sleepuntil.h \
|
||||||
|
sync.c \
|
||||||
xcmisc.c \
|
xcmisc.c \
|
||||||
xtest.c \
|
xtest.c
|
||||||
geext.c
|
|
||||||
|
|
||||||
# Sources always included in libXextmodule.la & libXext.la
|
# Sources always included in libXextmodule.la & libXext.la. That's right, zero.
|
||||||
MODULE_SRCS = \
|
MODULE_SRCS =
|
||||||
sync.c
|
|
||||||
|
|
||||||
# Optional sources included if extension enabled by configure.ac rules
|
# Optional sources included if extension enabled by configure.ac rules
|
||||||
|
|
||||||
|
|
|
@ -65,15 +65,6 @@ static ExtensionModule extensionModules[] = {
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
|
||||||
{
|
|
||||||
SyncExtensionInit,
|
|
||||||
SYNC_NAME,
|
|
||||||
&noSyncExtension,
|
|
||||||
NULL,
|
|
||||||
NULL
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
#ifdef SCREENSAVER
|
#ifdef SCREENSAVER
|
||||||
{
|
{
|
||||||
ScreenSaverExtensionInit,
|
ScreenSaverExtensionInit,
|
||||||
|
|
|
@ -27,13 +27,6 @@ extern void XTestExtensionInit(INITARGS);
|
||||||
extern void XTestExtension1Init(INITARGS);
|
extern void XTestExtension1Init(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XSYNC
|
|
||||||
extern void SyncExtensionInit(INITARGS);
|
|
||||||
#define _SYNC_SERVER
|
|
||||||
#include <X11/extensions/sync.h>
|
|
||||||
#include <X11/extensions/syncstr.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SCREENSAVER
|
#ifdef SCREENSAVER
|
||||||
extern void ScreenSaverExtensionInit (INITARGS);
|
extern void ScreenSaverExtensionInit (INITARGS);
|
||||||
#include <X11/extensions/saver.h>
|
#include <X11/extensions/saver.h>
|
||||||
|
|
|
@ -372,9 +372,6 @@ _X_HIDDEN void *dixLookupTab[] = {
|
||||||
#ifdef XCSECURITY
|
#ifdef XCSECURITY
|
||||||
SYMVAR(noSecurityExtension)
|
SYMVAR(noSecurityExtension)
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
|
||||||
SYMVAR(noSyncExtension)
|
|
||||||
#endif
|
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
SYMVAR(noResExtension)
|
SYMVAR(noResExtension)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -89,10 +89,6 @@ extern Bool noRenderExtension;
|
||||||
extern Bool noSecurityExtension;
|
extern Bool noSecurityExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XSYNC
|
|
||||||
extern Bool noSyncExtension;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
extern Bool noResExtension;
|
extern Bool noResExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -116,9 +116,6 @@ extern Bool noRenderExtension;
|
||||||
#ifdef XCSECURITY
|
#ifdef XCSECURITY
|
||||||
extern Bool noSecurityExtension;
|
extern Bool noSecurityExtension;
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
|
||||||
extern Bool noSyncExtension;
|
|
||||||
#endif
|
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
extern Bool noResExtension;
|
extern Bool noResExtension;
|
||||||
#endif
|
#endif
|
||||||
|
@ -225,9 +222,7 @@ extern void ScreenSaverExtensionInit (INITARGS);
|
||||||
extern void XvExtensionInit(INITARGS);
|
extern void XvExtensionInit(INITARGS);
|
||||||
extern void XvMCExtensionInit(INITARGS);
|
extern void XvMCExtensionInit(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
|
||||||
extern void SyncExtensionInit(INITARGS);
|
extern void SyncExtensionInit(INITARGS);
|
||||||
#endif
|
|
||||||
#ifdef XKB
|
#ifdef XKB
|
||||||
extern void XkbExtensionInit(INITARGS);
|
extern void XkbExtensionInit(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
|
@ -336,9 +331,6 @@ static ExtensionToggle ExtensionToggleList[] =
|
||||||
#ifdef XCSECURITY
|
#ifdef XCSECURITY
|
||||||
{ "SECURITY", &noSecurityExtension },
|
{ "SECURITY", &noSecurityExtension },
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
|
||||||
{ "SYNC", &noSyncExtension },
|
|
||||||
#endif
|
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
{ "X-Resource", &noResExtension },
|
{ "X-Resource", &noResExtension },
|
||||||
#endif
|
#endif
|
||||||
|
@ -442,9 +434,7 @@ InitExtensions(int argc, char *argv[])
|
||||||
XvMCExtensionInit();
|
XvMCExtensionInit();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
SyncExtensionInit();
|
||||||
if (!noSyncExtension) SyncExtensionInit();
|
|
||||||
#endif
|
|
||||||
#if defined(XKB)
|
#if defined(XKB)
|
||||||
if (!noXkbExtension) XkbExtensionInit();
|
if (!noXkbExtension) XkbExtensionInit();
|
||||||
#endif
|
#endif
|
||||||
|
@ -532,6 +522,7 @@ static ExtensionModule staticExtensions[] = {
|
||||||
#ifdef XIDLE
|
#ifdef XIDLE
|
||||||
{ XIdleExtensionInit, "XIDLE", &noXIdleExtension, NULL, NULL },
|
{ XIdleExtensionInit, "XIDLE", &noXIdleExtension, NULL, NULL },
|
||||||
#endif
|
#endif
|
||||||
|
{ SyncExtensionInit, "SYNC", NULL, NULL, NULL },
|
||||||
#ifdef XKB
|
#ifdef XKB
|
||||||
{ XkbExtensionInit, XkbName, &noXkbExtension, NULL, NULL },
|
{ XkbExtensionInit, XkbName, &noXkbExtension, NULL, NULL },
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -364,7 +364,6 @@ WaitForSomething(int *pClientsReady)
|
||||||
curclient = XFD_FD(&savedClientsReadable, i);
|
curclient = XFD_FD(&savedClientsReadable, i);
|
||||||
client_index = GetConnectionTranslation(curclient);
|
client_index = GetConnectionTranslation(curclient);
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
|
||||||
/* We implement "strict" priorities.
|
/* We implement "strict" priorities.
|
||||||
* Only the highest priority client is returned to
|
* Only the highest priority client is returned to
|
||||||
* dix. If multiple clients at the same priority are
|
* dix. If multiple clients at the same priority are
|
||||||
|
@ -391,7 +390,6 @@ WaitForSomething(int *pClientsReady)
|
||||||
* clients get batched together
|
* clients get batched together
|
||||||
*/
|
*/
|
||||||
else if (client_priority == highest_priority)
|
else if (client_priority == highest_priority)
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
pClientsReady[nready++] = client_index;
|
pClientsReady[nready++] = client_index;
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,9 +159,6 @@ _X_EXPORT Bool noRenderExtension = FALSE;
|
||||||
#ifdef XCSECURITY
|
#ifdef XCSECURITY
|
||||||
_X_EXPORT Bool noSecurityExtension = FALSE;
|
_X_EXPORT Bool noSecurityExtension = FALSE;
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSYNC
|
|
||||||
_X_EXPORT Bool noSyncExtension = FALSE;
|
|
||||||
#endif
|
|
||||||
#ifdef RES
|
#ifdef RES
|
||||||
_X_EXPORT Bool noResExtension = FALSE;
|
_X_EXPORT Bool noResExtension = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue