summaryrefslogtreecommitdiff
path: root/rules/0040-l4o_s.part
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2022-05-11 09:40:04 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2022-05-13 11:10:18 +0200
commit0fb34101788d84e9a1d98b3730cc7b9295e0f19b (patch)
tree24a35e300a0dabceb2d663ca35f6522322584921 /rules/0040-l4o_s.part
parentcb46bb0331ff3e07af700e6752fb76657b2c7d67 (diff)
downloadxkeyboard-config-0fb34101788d84e9a1d98b3730cc7b9295e0f19b.tar.gz
make the "Both Alts" option for switching between groups work again
Seemingly unintentionally bundled together with massive OLPC changes, commit a8551efb70 from fifteen years ago changed the alts_toggle and ctrls_toggle to use new key types that relied on virtual modifiers, in order to address issue #122. But specifying a virtual modifier in a key assignment does not work, apparenly due to some limitation of XKM (https://gitlab.freedesktop.org/xorg/xserver/-/issues/297). It does not look like that limitation will be fixed. So, let's roll back the alts_toggle to what it was fifteen years ago when it worked. This refreshed alts_toggle may cause problems for programs that cannot cope with an Alt key that produces a different symbol upon key release than upon key press -- the user will then have to choose a different option for switching between layouts. (The ctrls_toggle was restored in commit 4346c44713, six years ago.) This fixes issue #316. It also fixes issue #43, reported by Mohammed Adnène Trojette, originally by Itaï Ben Yaacov in https://bugs.debian.org/463373. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'rules/0040-l4o_s.part')
-rw-r--r--rules/0040-l4o_s.part3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/0040-l4o_s.part b/rules/0040-l4o_s.part
index 8246a15..46ef893 100644
--- a/rules/0040-l4o_s.part
+++ b/rules/0040-l4o_s.part
@@ -1,6 +1,5 @@
! layout[4] option = symbols
-
- $threelevellayouts grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):4
+ * grp:alts_toggle = +group(alts_toggle):4
* lv3:ralt_alt = +level3(ralt_alt):4
* misc:typo = +typo(base):4
* misc:apl = +apl(level3):4