mirror of
https://github.com/brl/mutter.git
synced 2024-12-29 06:12:14 +00:00
backends/native: Regain time precision in a11y generated events
Get times in microseconds, instead of converting from milliseconds. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3190>
This commit is contained in:
parent
13618014dd
commit
5d72be4016
@ -517,7 +517,7 @@ rewrite_stickykeys_event (ClutterEvent *event,
|
|||||||
rewritten_event =
|
rewritten_event =
|
||||||
clutter_event_key_new (clutter_event_type (event),
|
clutter_event_key_new (clutter_event_type (event),
|
||||||
clutter_event_get_flags (event),
|
clutter_event_get_flags (event),
|
||||||
ms2us (clutter_event_get_time (event)),
|
clutter_event_get_time_us (event),
|
||||||
clutter_event_get_source_device (event),
|
clutter_event_get_source_device (event),
|
||||||
modifiers,
|
modifiers,
|
||||||
clutter_event_get_key_symbol (event),
|
clutter_event_get_key_symbol (event),
|
||||||
|
Loading…
Reference in New Issue
Block a user