diff options
author | Benno Schulenberg <bensberg@telfort.nl> | 2023-04-18 08:37:52 +0200 |
---|---|---|
committer | Benno Schulenberg <bensberg@telfort.nl> | 2023-04-18 11:54:00 +0200 |
commit | 1cb7181936c269274483dff000575fa370888b78 (patch) | |
tree | 02a71e4537139e7773e29420f7dbf581056b67ea | |
parent | cc916a73a15c262ac6c7d2558442676954f72995 (diff) | |
download | xkeyboard-config-1cb7181936c269274483dff000575fa370888b78.tar.gz |
symbols/pc: map the Super modifier to the LWIN/RWIN keys, not to symbols
When a modifier is mapped to a symbol, then it will effectively be
mapped to the first-found key that contains the relevant symbol,
and that key might not be the key that the modifier is usually
mapped to, leaving this latter key without a mapping.
So, map the Super modifier to `<LWIN>` and `<RWIN>` instead of to
`Super_L` and `Super_R` -- the Windows keys will then not lack their
Super modifier when some other key is made into a Super key too.
This fixes issue #81.
Reported-by: Josh Triplett
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-rw-r--r-- | symbols/pc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ xkb_symbols "pc105" { modifier_map Control { Control_L, Control_R }; modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R }; modifier_map Mod2 { Num_Lock }; - modifier_map Mod4 { Super_L, Super_R }; + modifier_map Mod4 { <LWIN>, <RWIN> }; // Six fake keys for virtual<->real modifiers mapping: key <LVL3> {[ ISO_Level3_Shift ]}; |