Michael Stapelberg 0fb784f5cb Translate bindsym bindings upon ISO_Next_Group
With commit c738b2e454bb8b096dd99d44e9e51030f8355b90 we changed i3 so
that the default keybindings can be used when ISO_Next_Group is enabled,
but bindings which explicitly use Mode_switch have precedence. This
behavior required the use of bindcode instead of bindsym.

With this commit, when switching from group 1 to group 2 using
ISO_Next_Group, i3 will re-translate all keybindings (looking at column
2/3, regardless of whether the keybinding itself specifies Mode_switch)
and re-grab them.

That way, the keybinding “bindsym $mod+x nop foo” will work when
pressing $mod+x without Mode_switch and when pressing the corresponding
$mod+x (different key) with Mode_switch. A binding such as “bindsym
Mode_switch+$mod+x nop bar” will still have precedence.

The intention here is to make bindsym keybindings work well with dual
keyboard layouts (such as {dvorak, us} or {us, ru}), so that users can
switch between groups and still have their (logical) keybindings behave
the same way.

fixes 
2015-08-06 09:32:22 +02:00
2015-07-30 22:31:06 +02:00
2015-08-03 12:50:50 +03:00
2015-07-30 22:26:58 +02:00
2015-07-30 07:44:10 -04:00
2015-03-11 21:41:43 -07:00
2011-08-28 17:44:42 +02:00
2011-08-28 17:44:42 +02:00
2015-07-30 22:26:58 +02:00
Description
No description provided
18 MiB
Languages
C 58.4%
Perl 36%
Raku 2.6%
Ruby 1.2%
Shell 0.7%
Other 1.1%