Add xkbcomp/keymap.c and move some code there
authorRan Benita <ran234@gmail.com>
Wed, 29 Aug 2012 12:02:40 +0000 (15:02 +0300)
committerRan Benita <ran234@gmail.com>
Sun, 2 Sep 2012 16:17:09 +0000 (19:17 +0300)
commit8c1b1b0e9e52be18dbb42aa4765f886ace067f97
tree75a775a76bbb59166dd0c425100b48167f450127
parent591df1156d2c2510c8672150a74982e0009e0f48
Add xkbcomp/keymap.c and move some code there

Add CompileKeymap to do most of what compile_keymap_file does now, and
move UpdateKeymapFromModifiers along with it from (mostly unrelated)
compat.c.
Also rename UpdateKeymapFromModifiers to UpdateDerivedKeymapFields,
because it does more than update the modifiers.

Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am
src/xkbcomp/compat.c
src/xkbcomp/keymap.c [new file with mode: 0644]
src/xkbcomp/xkbcomp-priv.h
src/xkbcomp/xkbcomp.c