Make XkbcInitAtoms externally accessible
authorDan Nicholson <dbn.lists@gmail.com>
Thu, 9 Apr 2009 21:29:32 +0000 (14:29 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Thu, 9 Apr 2009 21:29:32 +0000 (14:29 -0700)
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
src/xkbmisc.h

index 36f9ff3..1bc0f35 100644 (file)
@@ -125,6 +125,9 @@ typedef struct _XkbcDesc {
 
 _XFUNCPROTOBEGIN
 
+extern void
+XkbcInitAtoms(void);
+
 extern XkbcDescPtr
 XkbcCompileKeymapFromRules(const XkbRMLVOSet *rmlvo);
 
index 17b33c8..16747a1 100644 (file)
@@ -65,9 +65,6 @@ _XkbcKSCheckCase(KeySym sym);
 
 /***====================================================================***/
 
-extern void
-XkbcInitAtoms(void);
-
 extern char *
 XkbcAtomGetString(Atom atom);