Revert "registry: Register APPGROUP extension protocol names."
This reverts commit b504678ba5
.
Moving all the names into dix/registry.c
This commit is contained in:
parent
5aff37d1d6
commit
0756d12712
|
@ -39,7 +39,6 @@ from The Open Group.
|
||||||
#include "windowstr.h"
|
#include "windowstr.h"
|
||||||
#include "colormapst.h"
|
#include "colormapst.h"
|
||||||
#include "servermd.h"
|
#include "servermd.h"
|
||||||
#include "registry.h"
|
|
||||||
#define _XAG_SERVER_
|
#define _XAG_SERVER_
|
||||||
#include <X11/extensions/Xagstr.h>
|
#include <X11/extensions/Xagstr.h>
|
||||||
#include "xacestr.h"
|
#include "xacestr.h"
|
||||||
|
@ -763,35 +762,14 @@ static void XagCallClientStateChange(
|
||||||
void
|
void
|
||||||
XagExtensionInit(INITARGS)
|
XagExtensionInit(INITARGS)
|
||||||
{
|
{
|
||||||
ExtensionEntry *extEntry;
|
if (AddExtension (XAGNAME,
|
||||||
|
0,
|
||||||
if ((extEntry = AddExtension (XAGNAME,
|
XagNumberErrors,
|
||||||
0,
|
ProcXagDispatch,
|
||||||
XagNumberErrors,
|
SProcXagDispatch,
|
||||||
ProcXagDispatch,
|
XagResetProc,
|
||||||
SProcXagDispatch,
|
StandardMinorOpcode)) {
|
||||||
XagResetProc,
|
|
||||||
StandardMinorOpcode))) {
|
|
||||||
RT_APPGROUP = CreateNewResourceType (XagAppGroupFree);
|
RT_APPGROUP = CreateNewResourceType (XagAppGroupFree);
|
||||||
XaceRegisterCallback(XACE_AUTH_AVAIL, XagCallClientStateChange, NULL);
|
XaceRegisterCallback(XACE_AUTH_AVAIL, XagCallClientStateChange, NULL);
|
||||||
} else
|
}
|
||||||
return;
|
|
||||||
|
|
||||||
RegisterRequestName(extEntry->base, X_XagQueryVersion,
|
|
||||||
XAGNAME ":QueryVersion");
|
|
||||||
RegisterRequestName(extEntry->base, X_XagCreate,
|
|
||||||
XAGNAME ":Create");
|
|
||||||
RegisterRequestName(extEntry->base, X_XagDestroy,
|
|
||||||
XAGNAME ":Destroy");
|
|
||||||
RegisterRequestName(extEntry->base, X_XagGetAttr,
|
|
||||||
XAGNAME ":GetAttr");
|
|
||||||
RegisterRequestName(extEntry->base, X_XagQuery,
|
|
||||||
XAGNAME ":Query");
|
|
||||||
RegisterRequestName(extEntry->base, X_XagCreateAssoc,
|
|
||||||
XAGNAME ":CreateAssoc");
|
|
||||||
RegisterRequestName(extEntry->base, X_XagDestroyAssoc,
|
|
||||||
XAGNAME ":DestroyAssoc");
|
|
||||||
|
|
||||||
RegisterErrorName(extEntry->errorBase + XagBadAppGroup,
|
|
||||||
XAGNAME ":BadAppGroup");
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue