From 0280b10df90ff5fb5a38f9a61800338bcc15b8ca Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 9 Apr 2009 14:29:32 -0700 Subject: [PATCH] Make XkbcInitAtoms externally accessible Applications (like the server) need to initialize the atoms system before using the rest of the library. Maybe it should just init itself implicitly. --- include/X11/extensions/XKBcommon.h | 3 +++ src/xkbmisc.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h index 36f9ff3..1bc0f35 100644 --- a/include/X11/extensions/XKBcommon.h +++ b/include/X11/extensions/XKBcommon.h @@ -125,6 +125,9 @@ typedef struct _XkbcDesc { _XFUNCPROTOBEGIN +extern void +XkbcInitAtoms(void); + extern XkbcDescPtr XkbcCompileKeymapFromRules(const XkbRMLVOSet *rmlvo); diff --git a/src/xkbmisc.h b/src/xkbmisc.h index 17b33c8..16747a1 100644 --- a/src/xkbmisc.h +++ b/src/xkbmisc.h @@ -65,9 +65,6 @@ _XkbcKSCheckCase(KeySym sym); /***====================================================================***/ -extern void -XkbcInitAtoms(void); - extern char * XkbcAtomGetString(Atom atom); -- 2.7.4