From 70b64213ca620c0f4c50cd05b9a0667357b7d297 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sat, 25 Apr 2009 14:52:51 +1000 Subject: [PATCH] Make keysym <-> string conversion public API Signed-off-by: Daniel Stone --- include/X11/extensions/XKBcommon.h | 6 ++++++ src/xkbmisc.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h index 59a43ea..123ea8c 100644 --- a/include/X11/extensions/XKBcommon.h +++ b/include/X11/extensions/XKBcommon.h @@ -141,6 +141,12 @@ XkbcCompileKeymapFromFile(FILE *inputFile, const char *mapName); extern XkbComponentListPtr XkbcListComponents(XkbComponentNamesPtr ptrns, int *maxMatch); +extern char * +XkbcKeysymToString(KeySym ks); + +extern KeySym +XkbcStringToKeysym(const char *s); + _XFUNCPROTOEND #endif /* _XKBCOMMON_H_ */ diff --git a/src/xkbmisc.h b/src/xkbmisc.h index 61e94e6..324a648 100644 --- a/src/xkbmisc.h +++ b/src/xkbmisc.h @@ -33,12 +33,6 @@ authorization from the authors. #include #include "X11/extensions/XKBcommon.h" -extern char * -XkbcKeysymToString(KeySym ks); - -extern KeySym -XkbcStringToKeysym(const char *s); - /***====================================================================***/ extern Bool