Use only one set of core mod name-to-index functions
authorRan Benita <ran234@gmail.com>
Wed, 1 Aug 2012 08:25:34 +0000 (11:25 +0300)
committerRan Benita <ran234@gmail.com>
Tue, 7 Aug 2012 08:09:42 +0000 (11:09 +0300)
commit7c7e43415128229c97b2f9efa756c485774caa3b
tree4b55cb05215f268b644f8d52d74d02f294880cd3
parentc6dee4640a6eff283bc868fbc4aca33aa48ddb42
Use only one set of core mod name-to-index functions

These were repeated 5 times.

Note that this changes the ABI slightly: XKB_MOD_NAME_CAPS is changed
from "Caps Lock" to "Lock", which is the ordinary legacy mod name for
it. Since its hidden behind a #define, it's best to stay compatible with
the old names (as I think was intended, given that "Mod1", etc. are the
same).

Signed-off-by: Ran Benita <ran234@gmail.com>
src/keymap-dump.c
src/map.c
src/text.c
src/text.h
src/xkbcomp/expr.c
xkbcommon/xkbcommon-names.h