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:
parent
2e3550320a
commit
13618014dd
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user