summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2023-04-13 12:48:20 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2023-04-27 09:21:02 +0200
commit1f6ab8ff3de3aa1d440c7deb9b49e47eb6a38066 (patch)
tree0b47cc65ce0c46bc1a31cb04b1001b26a2dc3ef1
parentdb45bd7504f5b854c01bfbcf23a7841808992ec7 (diff)
downloadxkeyboard-config-1f6ab8ff3de3aa1d440c7deb9b49e47eb6a38066.tar.gz
types/level5: correct two specifications, to not swap levels 3 and 4
Just like Lock does not swap levels 3 and 4 when just LevelThree and maybe Shift are in effect for EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK, Lock should *also* not swap those levels when also the LevelFive-Lock (NumLock) *and* LevelFive itself are in effect. This fixes issue #381. Problem existed since the EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK type was introduced, in commit 39124ccf14, thirteen years ago. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-rw-r--r--types/level54
1 files changed, 2 insertions, 2 deletions
diff --git a/types/level5 b/types/level5
index 99d9388..71152fd 100644
--- a/types/level5
+++ b/types/level5
@@ -171,8 +171,8 @@ default partial xkb_types "default" {
map[Lock+NumLock+LevelFive] = Level2;
map[Lock+NumLock+LevelFive+Shift] = Level1;
- map[Lock+NumLock+LevelFive+LevelThree] = Level4;
- map[Lock+NumLock+LevelFive+LevelThree+Shift] = Level3;
+ map[Lock+NumLock+LevelFive+LevelThree] = Level3;
+ map[Lock+NumLock+LevelFive+LevelThree+Shift] = Level4;
preserve[LevelFive+Shift] = Shift;
preserve[NumLock+Shift] = Shift;