mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
59f1e531f9
When talking to other applications or serializing the modifier state (and in particular when implementing a wayland compositor), the effective modifier state alone is not sufficient, one needs to know the base, latched and locked modifiers. Previously one could do with backend specific functionality such as clutter_device_manager_evdev_get_xkb_state(), but the problem is that the internal data structures are updated as soon as the events are fetched from the upstream source, but the events are reported to the application some time later, and thus the two can get out of sync. This way, on the other hand, the information is cached in the event, and provided to the application with the value that was current when the event was generated. https://bugzilla.gnome.org/show_bug.cgi?id=706494 |
||
---|---|---|
.. | ||
xsettings | ||
clutter-backend-x11.c | ||
clutter-backend-x11.h | ||
clutter-device-manager-core-x11.c | ||
clutter-device-manager-core-x11.h | ||
clutter-device-manager-xi2.c | ||
clutter-device-manager-xi2.h | ||
clutter-event-x11.c | ||
clutter-glx-texture-pixmap.c | ||
clutter-glx-texture-pixmap.h | ||
clutter-glx.h | ||
clutter-input-device-core-x11.c | ||
clutter-input-device-core-x11.h | ||
clutter-input-device-xi2.c | ||
clutter-input-device-xi2.h | ||
clutter-keymap-x11.c | ||
clutter-keymap-x11.h | ||
clutter-settings-x11.h | ||
clutter-stage-x11.c | ||
clutter-stage-x11.h | ||
clutter-x11-texture-pixmap.c | ||
clutter-x11-texture-pixmap.h | ||
clutter-x11.h |