mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 16:44:40 +00:00
d9cc8530ec2a55d6d67649fc68f23da86a5ccc7e

If the user maps eg. Alt+F2 to a pad button, the MetaInputSettings will
send the full Alt press, F2 press, F2 release, Alt release sequence.
However the keycode corresponding to Alt is found in level 1, so the
Shift modifier gets unintendedly latched in addition to the Alt key
press/release pair.
We could probably improve keycode lookup heuristics so level=0 (and
no modifier latching) is preferred, but we can do without it altogether
for modifier keys.
(cherry picked from commit 67aab7c138
)
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%