libxkbcommon/src
Ran Benita 9e5052259a symbols: fix bug in modifier_map handling
The code used to match a keysym to a keycode (see added comment)
differed in behavior from xkbcomp, always taking the first key it found.
This caused some incorrect interpretation of the xkeyboard-config data,
for example the one corrected in dump.data (see the diff): since the
de-neo layout sets the both_capslock option, the Left Shift key (LFSH)
has the Caps_Lock keysym in group 4 level 2; now since
    keycode(Left Shift) = 50 < keycode(Caps Lock) = 64
the Left Shift one was picked, instead of the Caps Lock one which is
group 1 level 1. The correct behavior is to pick according to group,
level, keycode.

Signed-off-by: Ran Benita <ran234@gmail.com>
2012-07-12 18:08:00 +01:00
..
xkbcomp symbols: fix bug in modifier_map handling 2012-07-12 18:08:00 +01:00
.gitignore config: makekeys prog should stand alone in the makekeys directory 2010-12-18 11:19:56 -05:00
alloc.c symbols: use darray in struct xkb_sym_map 2012-06-09 13:21:21 +03:00
alloc.h keytypes: use darray for xkb_kt_map_entry's 2012-05-22 14:19:24 +03:00
atom.c darray: tweak parameters a bit for better memory usage 2012-06-09 12:34:57 +03:00
atom.h Contextualize the atom table 2012-05-09 15:56:25 +01:00
context.c context: use darray for include paths 2012-05-22 14:19:23 +03:00
darray.h darray: some changes for convenience 2012-06-09 12:34:57 +03:00
keymap-dump.c dump: use KeyNameText instead of copying 2012-07-12 18:07:56 +01:00
keysym-utf.c Add keypad sequences to UTF-8 keysym printing 2012-06-08 14:59:07 +01:00
keysym.c Move XKB_KEY_NoSymbol to xkbcommon-keysyms.h 2012-06-09 12:34:57 +03:00
map.c Don't ignore inactive type entries 2012-06-22 16:05:45 +01:00
misc.c darray: some changes for convenience 2012-06-09 12:34:57 +03:00
state.c state: fix base mod set/clear behavior 2012-07-01 10:21:01 +03:00
text.c Enlarge keysym name buffers and mention in comment 2012-07-12 09:42:20 +01:00
text.h Use enum for file types 2012-07-01 00:51:56 +03:00
utils.c utils: remove unused recalloc and related macros 2012-06-09 13:21:21 +03:00
utils.h utils: remove unused recalloc and related macros 2012-06-09 13:21:21 +03:00
xkb-priv.h rules: remove support for keymap rule 2012-07-01 00:51:56 +03:00
xkb.c keytypes: use darray for xkb_kt_map_entry's 2012-05-22 14:19:24 +03:00