Add struct xkb_mod_set
authorRan Benita <ran234@gmail.com>
Fri, 8 Feb 2013 11:09:33 +0000 (13:09 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 19 Apr 2014 13:20:09 +0000 (16:20 +0300)
commitca3170ad3813389a3325513130c37e8038fa02f9
treef743e6b3f056bcdcfab7f8b029a03c9818cb2dd7
parent3d7aff5fcdad501856662e6b84a76ef883b35784
Add struct xkb_mod_set

The only thing that the compilation phase needs the keymap for currently
is for access to the modifier information (it also modifies it in
place!). We want to only pass along the neccessary information, to make
it more tractable and testable, so instead of passing the entire keymap
we add a new 'mod_set' object and pass a (const) reference to that.
The new object is just the old array of 'struct xkb_mod'.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/keymap-priv.c
src/keymap.c
src/keymap.h
src/text.c
src/x11/keymap.c
src/xkbcomp/keymap-dump.c
src/xkbcomp/keymap.c
src/xkbcomp/vmod.c