diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-03-29 09:34:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-03-31 06:08:43 +0000 |
| commit | 58910856c8a86095883625009a089cef464edc44 (patch) | |
| tree | ce2859bf841de26b40d99015665ccc3a82f1baa4 /scripts | |
| parent | grid: reflow: fix empty line coalescing (diff) | |
input: xkb: ignore virtual modifiers
Some compositors (mutter/GNOME is one) adds _virtual_ modifiers to the
set of active modifiers when e.g. Alt, Meta, Super or Hyper is
pressed. For example, pressing Alt+b would result in *both* the Alt
*and* the Mod1 modifier being set.
Since foot makes close to zero assumptions on how the modifiers should
be interpreted, this causes various breakages.
For example, a foot shortcut defined as Mod1+b will not match, since
the Alt modifiers is also set. This has forced users to
redefine/override some of the default key bindings to include the
additional modifiers.
It also causes issues with the kitty keyboard protocol, for some key
combinations. Mainly whether or not to use unshifted key or not,
resulting in incorrect escape sequences.
Since all the "real" modifiers are always set as well, we can safely
ignore the virtual modifiers.
Closes #2009
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
