Carlos Garnacho
d9cc8530ec
clutter: Do not latch modifiers on modifier keys
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 67aab7c13812befde061f0d2068b431b04dcbc98)
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%