summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-20 18:47:52 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-20 18:47:52 -0500
commited8a39c48ab9dac085fcf58b9641364b5608f3f4 (patch)
treee91d28f230785ec4d8102d77ee60eda54a820df4
parent17b0c729b553e2f0f8f82497698b282a47db3326 (diff)
Revert "registry: Register XKB extension protocol names."
This reverts commit a5cf3f21f712e46dbf9bca289e67be75f2b531d3. Moving all the names into dix/registry.c
-rw-r--r--xkb/xkb.c63
1 files changed, 4 insertions, 59 deletions
diff --git a/xkb/xkb.c b/xkb/xkb.c
index 49c63faa6..23e1dc76f 100644
--- a/xkb/xkb.c
+++ b/xkb/xkb.c
@@ -35,7 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
-#include "registry.h"
#define XKBSRV_NEED_FILE_FUNCS
#include <xkbsrv.h>
#include "extnsionst.h"
@@ -6227,62 +6226,8 @@ XkbExtensionInit(void)
XkbErrorBase = (unsigned char)extEntry->errorBase;
XkbKeyboardErrorCode = XkbErrorBase+XkbKeyboard;
RT_XKBCLIENT = CreateNewResourceType(XkbClientGone);
- } else
- return;
-
- RegisterRequestName(XkbReqCode, X_kbUseExtension,
- XkbName ":UseExtension");
- RegisterRequestName(XkbReqCode, X_kbSelectEvents,
- XkbName ":SelectEvents");
- RegisterRequestName(XkbReqCode, X_kbBell,
- XkbName ":Bell");
- RegisterRequestName(XkbReqCode, X_kbGetState,
- XkbName ":GetState");
- RegisterRequestName(XkbReqCode, X_kbLatchLockState,
- XkbName ":LatchLockState");
- RegisterRequestName(XkbReqCode, X_kbGetControls,
- XkbName ":GetControls");
- RegisterRequestName(XkbReqCode, X_kbSetControls,
- XkbName ":SetControls");
- RegisterRequestName(XkbReqCode, X_kbGetMap,
- XkbName ":GetMap");
- RegisterRequestName(XkbReqCode, X_kbSetMap,
- XkbName ":SetMap");
- RegisterRequestName(XkbReqCode, X_kbGetCompatMap,
- XkbName ":GetCompatMap");
- RegisterRequestName(XkbReqCode, X_kbSetCompatMap,
- XkbName ":SetCompatMap");
- RegisterRequestName(XkbReqCode, X_kbGetIndicatorState,
- XkbName ":GetIndicatorState");
- RegisterRequestName(XkbReqCode, X_kbGetIndicatorMap,
- XkbName ":GetIndicatorMap");
- RegisterRequestName(XkbReqCode, X_kbSetIndicatorMap,
- XkbName ":SetIndicatorMap");
- RegisterRequestName(XkbReqCode, X_kbGetNamedIndicator,
- XkbName ":GetNamedIndicator");
- RegisterRequestName(XkbReqCode, X_kbSetNamedIndicator,
- XkbName ":SetNamedIndicator");
- RegisterRequestName(XkbReqCode, X_kbGetNames,
- XkbName ":GetNames");
- RegisterRequestName(XkbReqCode, X_kbSetNames,
- XkbName ":SetNames");
- RegisterRequestName(XkbReqCode, X_kbGetGeometry,
- XkbName ":GetGeometry");
- RegisterRequestName(XkbReqCode, X_kbSetGeometry,
- XkbName ":SetGeometry");
- RegisterRequestName(XkbReqCode, X_kbPerClientFlags,
- XkbName ":PerClientFlags");
- RegisterRequestName(XkbReqCode, X_kbListComponents,
- XkbName ":ListComponents");
- RegisterRequestName(XkbReqCode, X_kbGetKbdByName,
- XkbName ":GetKbdByName");
- RegisterRequestName(XkbReqCode, X_kbGetDeviceInfo,
- XkbName ":GetDeviceInfo");
- RegisterRequestName(XkbReqCode, X_kbSetDeviceInfo,
- XkbName ":SetDeviceInfo");
- RegisterRequestName(XkbReqCode, X_kbSetDebuggingFlags,
- XkbName ":SetDebuggingFlags");
-
- RegisterEventName(extEntry->eventBase, XkbName ":EventCode");
- RegisterErrorName(extEntry->errorBase, XkbName ":Keyboard");
+ }
+ return;
}
+
+