summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2022-05-16 15:32:45 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2022-05-17 08:55:11 +0200
commit270c5622cea6eafc3e988eb44f1c3421e60f16d2 (patch)
treef13016572328f5146e46d57496fcdd05e2fcec7b
parent2f80bf214580f22620ac4db62221e2a96a130e41 (diff)
rules: make the Right-Alt group toggle override any layout's Right AltHEADmaster
Many layouts include the ralt_switch option, which meant that any such layout as non-first group would monopolize the Right-Alt key and would invalidate the group toggle -- because the grp:toggle rule would get applied only to the first layout. Correct this by applying the rule, when chosen, to every layout. This fixes https://bugs.debian.org/704209. Reported-by: Ivan Shmakov <oneingray@gmail.com> Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-rw-r--r--rules/0036-lo_s.part1
-rw-r--r--rules/0037-l1o_s.part1
-rw-r--r--rules/0038-l2o_s.part1
-rw-r--r--rules/0039-l3o_s.part1
-rw-r--r--rules/0040-l4o_s.part1
-rw-r--r--rules/0042-o_s.part1
6 files changed, 5 insertions, 1 deletions
diff --git a/rules/0036-lo_s.part b/rules/0036-lo_s.part
index 4f6bcfa..b5b6274 100644
--- a/rules/0036-lo_s.part
+++ b/rules/0036-lo_s.part
@@ -1,4 +1,5 @@
! layout option = symbols
+ * grp:toggle = +group(toggle)
* grp:alts_toggle = +group(alts_toggle)
* grp:alt_altgr_toggle = +group(alt_altgr_toggle)
* grp:win_space_toggle = +group(win_space_toggle)
diff --git a/rules/0037-l1o_s.part b/rules/0037-l1o_s.part
index aefd67e..635c284 100644
--- a/rules/0037-l1o_s.part
+++ b/rules/0037-l1o_s.part
@@ -1,4 +1,5 @@
! layout[1] option = symbols
+ * grp:toggle = +group(toggle):1
* grp:alts_toggle = +group(alts_toggle):1
* grp:alt_altgr_toggle = +group(alt_altgr_toggle):1
* grp:win_space_toggle = +group(win_space_toggle):1
diff --git a/rules/0038-l2o_s.part b/rules/0038-l2o_s.part
index dc3bfb3..a6540f5 100644
--- a/rules/0038-l2o_s.part
+++ b/rules/0038-l2o_s.part
@@ -1,4 +1,5 @@
! layout[2] option = symbols
+ * grp:toggle = +group(toggle):2
* grp:alts_toggle = +group(alts_toggle):2
* grp:alt_altgr_toggle = +group(alt_altgr_toggle):2
* grp:win_space_toggle = +group(win_space_toggle):2
diff --git a/rules/0039-l3o_s.part b/rules/0039-l3o_s.part
index 4fb9f00..f80d53b 100644
--- a/rules/0039-l3o_s.part
+++ b/rules/0039-l3o_s.part
@@ -1,4 +1,5 @@
! layout[3] option = symbols
+ * grp:toggle = +group(toggle):3
* grp:alts_toggle = +group(alts_toggle):3
* grp:alt_altgr_toggle = +group(alt_altgr_toggle):3
* grp:win_space_toggle = +group(win_space_toggle):3
diff --git a/rules/0040-l4o_s.part b/rules/0040-l4o_s.part
index 2473e6d..db459a5 100644
--- a/rules/0040-l4o_s.part
+++ b/rules/0040-l4o_s.part
@@ -1,4 +1,5 @@
! layout[4] option = symbols
+ * grp:toggle = +group(toggle):4
* grp:alts_toggle = +group(alts_toggle):4
* grp:alt_altgr_toggle = +group(alt_altgr_toggle):4
* grp:win_space_toggle = +group(win_space_toggle):4
diff --git a/rules/0042-o_s.part b/rules/0042-o_s.part
index 717101c..9b2b717 100644
--- a/rules/0042-o_s.part
+++ b/rules/0042-o_s.part
@@ -20,7 +20,6 @@
grp:lwin_switch = +group(lwin_switch)
grp:rwin_switch = +group(rwin_switch)
grp:menu_switch = +group(menu_switch)
- grp:toggle = +group(toggle)
grp:shifts_toggle = +group(shifts_toggle)
grp:ctrls_toggle = +group(ctrls_toggle)
grp:caps_toggle = +capslock(grouplock)