Michael Stapelberg 0fb784f5cb Translate bindsym bindings upon ISO_Next_Group
With commit c738b2e454 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 #1775
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
2015-07-30 22:26:58 +02:00
Description
A tiling window manager for X11
BSD-3-Clause 100 MiB
Languages
C 58%
Perl 36.4%
Raku 2.6%
Ruby 1.2%
Meson 0.7%
Other 1%