vmod: take xkb_mod_set instead of the entire keymap
authorRan Benita <ran234@gmail.com>
Fri, 8 Feb 2013 12:39:38 +0000 (14:39 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 19 Apr 2014 13:23:48 +0000 (16:23 +0300)
commitb5655b3d67c10ccd621261bcade8b60a4775dd7f
tree2244e8093ce43ac4badce842d0c851d4ff1fbc4e
parent0b7c8d619889b7c04a6dd9936c163e0b7c801025
vmod: take xkb_mod_set instead of the entire keymap

This is the only place where the modifier information is modified. We
will make it local to a given XKB file (after which it will be merged
into the keymap). Currently it changes the keymap directly, which
sidesteps the abstraction and leaves side-effects even if the XkbFile's
compilation fails.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/compat.c
src/xkbcomp/symbols.c
src/xkbcomp/types.c
src/xkbcomp/vmod.c
src/xkbcomp/vmod.h