stringcomp: Remove unnecessary Level1 mappings
authorDaniel Stone <daniel@fooishbar.org>
Fri, 3 Aug 2012 01:54:44 +0000 (03:54 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 8 Aug 2012 14:23:30 +0000 (16:23 +0200)
As a map will implicitly go to level one unless explicitly mentioned
otherwise, remove all explicit =Level1 mappings, except for those with
preserve entries.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
test/data/keymaps/stringcomp.data

index 1e39d1c..2ee5e66 100644 (file)
@@ -379,7 +379,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;
@@ -525,7 +524,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;