registry: Remove registry code from XTest extension.
Moving all the names into dix/registry.c
This commit is contained in:
parent
5fea1ed50f
commit
edcf490cdb
19
Xext/xtest.c
19
Xext/xtest.c
|
@ -42,7 +42,6 @@ from The Open Group.
|
|||
#include "scrnintstr.h"
|
||||
#include "dixevents.h"
|
||||
#include "sleepuntil.h"
|
||||
#include "registry.h"
|
||||
#define _XTEST_SERVER_
|
||||
#include <X11/extensions/XTest.h>
|
||||
#include <X11/extensions/xteststr.h>
|
||||
|
@ -85,21 +84,9 @@ static DISPATCH_PROC(SProcXTestGrabControl);
|
|||
void
|
||||
XTestExtensionInit(INITARGS)
|
||||
{
|
||||
ExtensionEntry *extEntry;
|
||||
|
||||
if (!(extEntry = AddExtension(XTestExtensionName, 0, 0,
|
||||
ProcXTestDispatch, SProcXTestDispatch,
|
||||
XTestResetProc, StandardMinorOpcode)))
|
||||
return;
|
||||
|
||||
RegisterRequestName(extEntry->base, X_XTestGetVersion,
|
||||
XTestExtensionName ":GetVersion");
|
||||
RegisterRequestName(extEntry->base, X_XTestCompareCursor,
|
||||
XTestExtensionName ":CompareCursor");
|
||||
RegisterRequestName(extEntry->base, X_XTestFakeInput,
|
||||
XTestExtensionName ":FakeInput");
|
||||
RegisterRequestName(extEntry->base, X_XTestGrabControl,
|
||||
XTestExtensionName ":GrabControl");
|
||||
AddExtension(XTestExtensionName, 0, 0,
|
||||
ProcXTestDispatch, SProcXTestDispatch,
|
||||
XTestResetProc, StandardMinorOpcode))
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user