clutter: Regain full time precision in input-method generated events

Get the time 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:10:30 +02:00 committed by Marge Bot
parent 2e3550320a
commit 13618014dd

View File

@ -366,7 +366,7 @@ clutter_input_method_notify_key_event (ClutterInputMethod *im,
copy = clutter_event_key_new (clutter_event_type (event),
clutter_event_get_flags (event) |
CLUTTER_EVENT_FLAG_INPUT_METHOD,
ms2us (clutter_event_get_time (event)),
clutter_event_get_time_us (event),
clutter_event_get_device (event),
clutter_event_get_state (event),
clutter_event_get_key_symbol (event),