aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/xkb/xkbout.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-01-15 15:32:13 +1000
committerUlrich Sibiller <uli42@gmx.de>2017-03-03 21:33:34 +0100
commit9e29588dd09eec1824b3b49fb9368f22e78ce790 (patch)
tree826cdbe667bba1c722b7747dc661037dba4bd20c /nx-X11/programs/Xserver/xkb/xkbout.c
parentbdfb52193b5a2c5e44969b11d997ce19f0310af9 (diff)
downloadnx-libs-9e29588dd09eec1824b3b49fb9368f22e78ce790.tar.gz
nx-libs-9e29588dd09eec1824b3b49fb9368f22e78ce790.tar.bz2
nx-libs-9e29588dd09eec1824b3b49fb9368f22e78ce790.zip
xkb: remove XkbAtomGetString, replace with NameForAtom.
XKB really XKBdoes not XKBneed its own XKBdefines for XKBeverything. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Keith Packard <keithp@keithp.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/programs/Xserver/xkb/xkbout.c')
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkbout.c b/nx-X11/programs/Xserver/xkb/xkbout.c
index 1e546d1cb..b76617963 100644
--- a/nx-X11/programs/Xserver/xkb/xkbout.c
+++ b/nx-X11/programs/Xserver/xkb/xkbout.c
@@ -250,7 +250,7 @@ WriteXKBIndicatorMap( FILE * file,
XkbDescPtr xkb;
xkb= result->xkb;
- fprintf(file," indicator \"%s\" {\n",XkbAtomGetString(xkb->dpy,name));
+ fprintf(file," indicator \"%s\" {\n",NameForAtom(name));
if (led->flags&XkbIM_NoExplicit)
fprintf(file," !allowExplicit;\n");
if (led->flags&XkbIM_LEDDrivesKB)