diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-10-25 13:03:17 +1000 |
---|---|---|
committer | Sergey Udaltsov <sergey.udaltsov@gmail.com> | 2021-11-12 12:17:37 +0000 |
commit | 29f2cd1eecc540480fcaf4580bcdd78283734e31 (patch) | |
tree | a56200f17e4a0ddb95c6a7ec129aeb20ca8079d7 /rules/0039-l3o_s.part | |
parent | 4fc49ffecd4d79be9211aaf852167734bbf59f1d (diff) | |
download | xkeyboard-config-29f2cd1eecc540480fcaf4580bcdd78283734e31.tar.gz |
rules: add custom per-group mapping for level3(ralt_alt)
ralt_alt is a special mapping: "the right Alt key never chooses the
third level." To achieve this, the key is defined for all four possible
groups.
This causes an issue with the libxkbcommon parser which extends the
keymap to be 4 groups wide thanks to this key, see
https://github.com/xkbcommon/libxkbcommon/issues/262
That is arguably a bug in libxkbcommon whose behavior differs from
xkbcomp - xkbcomp clamps to the number of layouts.
But defining the key this way is wrong, no other keys is defined for
multiple groups on that purpose. The correct way to achieve this
functionality is to define the symbols for group1 only and then adjust
the rules so they automatically apply to all groups currently present.
Diffstat (limited to 'rules/0039-l3o_s.part')
-rw-r--r-- | rules/0039-l3o_s.part | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/0039-l3o_s.part b/rules/0039-l3o_s.part index 81c3535..0414b9f 100644 --- a/rules/0039-l3o_s.part +++ b/rules/0039-l3o_s.part @@ -1,4 +1,5 @@ ! layout[3] option = symbols $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):3 + * lv3:ralt_alt = +level3(ralt_alt):3 * misc:typo = +typo(base):3 * misc:apl = +apl(level3):3 |