diff options
author | Ran Benita <ran234@gmail.com> | 2012-08-07 08:17:26 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2012-08-07 13:20:37 +0300 |
commit | a681c6240d325d54bd705fa2e91425486f2f557b (patch) | |
tree | a7a8566a711b869453541be2285202df05cf7f5f /test | |
parent | 233d85c427cbb9ecc53e9bc9784ceb0bd10fb87b (diff) |
types: remove DeleteLevel1MapEntries
If there is no map entry for some modifier combination, the default is
to use level 1. The removed code is an optimization to save some space
by removing these entries. But it doesn't actually save any space, and
did not in fact remove all level 1 entries (it walks the array while
modifying it so there's an off-by-one error).
We can instead keep them in the types but just not print them in
keymap-dump.c, to get about the same behavior.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/data/keymaps/dump.data | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/data/keymaps/dump.data b/test/data/keymaps/dump.data index 3c97dbc..631b0d3 100644 --- a/test/data/keymaps/dump.data +++ b/test/data/keymaps/dump.data @@ -372,7 +372,6 @@ xkb_keymap { }; type "LOCAL_EIGHT_LEVEL" { modifiers= Shift+Lock+Control+LevelThree; - map[Shift+Lock]= Level1; map[Shift]= Level2; map[Lock]= Level2; map[LevelThree]= Level3; @@ -518,7 +517,6 @@ xkb_keymap { }; type "FOUR_LEVEL_MIXED_KEYPAD" { modifiers= Shift+NumLock+LevelThree; - map[Shift+NumLock]= Level1; map[NumLock]= Level2; map[Shift]= Level2; map[LevelThree]= Level3; |