From: Dan Nicholson Date: Thu, 9 Apr 2009 21:29:32 +0000 (-0700) Subject: Make XkbcInitAtoms externally accessible X-Git-Tag: xkbcommon-0.2.0~910 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0280b10df90ff5fb5a38f9a61800338bcc15b8ca;p=platform%2Fupstream%2Flibxkbcommon.git 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. --- 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);