keybindings: Allow using keycodes directly for overlay-key
The reason MetaKeyCombo has a keycode value at all is *not* to store the devirtualized keycode from the keysym, but instead to allow people that type in "0x55" into the preference. Everything except the overlay-key respected this. Make the overlay-key binding respect this.
This commit is contained in:
parent
a8bf7934fb
commit
3ff8b0051d
@ -537,14 +537,7 @@ reload_combos (MetaKeyBindingManager *keys)
|
||||
determine_keymap_num_levels (keys);
|
||||
|
||||
if (keys->overlay_key_combo.keysym != 0)
|
||||
{
|
||||
keys->overlay_key_combo.keycode =
|
||||
get_first_keycode_for_keysym (keys, keys->overlay_key_combo.keysym);
|
||||
}
|
||||
else
|
||||
{
|
||||
keys->overlay_key_combo.keycode = 0;
|
||||
}
|
||||
keys->overlay_key_combo.keycode = get_first_keycode_for_keysym (keys, keys->overlay_key_combo.keysym);
|
||||
|
||||
reload_iso_next_group_combos (keys);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user