mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 03:49:03 +00:00
Carlos Garnacho
2e0d758811
clutter/x11: Implement keycode lookup from keysyms on virtual key devices
Unfortunately XKeysymToKeycode() falls short in that it coalesces keysyms into keycodes pertaining to the first level (i.e. lowercase). Add a ClutterKeymapX11 method (much alike its GdkKeymap counterpart) to look up all matches for the given keysym. Two other helper methods have been added so the virtual device can fetch the current keyboard group, and latch modifiers for key emission. Combining all this, the virtual device is now able to handle keycodes in further levels. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/135 (cherry picked from commit 85284acb000ddc70afcf716b6c198b4b5bf5741e)
…
…
…
…
…
…
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%