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:
Carlos Garnacho 2023-08-17 15:11:25 +02:00 committed by Marge Bot
parent 13618014dd
commit 5d72be4016

View File

@ -517,7 +517,7 @@ rewrite_stickykeys_event (ClutterEvent *event,
rewritten_event =
clutter_event_key_new (clutter_event_type (event),
clutter_event_get_flags (event),
ms2us (clutter_event_get_time (event)),
clutter_event_get_time_us (event),
clutter_event_get_source_device (event),
modifiers,
clutter_event_get_key_symbol (event),