From 5d72be40168661955bbd1b0f124c8eaea36dd09a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 17 Aug 2023 15:11:25 +0200 Subject: [PATCH] backends/native: Regain time precision in a11y generated events Get times in microseconds, instead of converting from milliseconds. Part-of: --- src/backends/native/meta-input-device-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/meta-input-device-native.c b/src/backends/native/meta-input-device-native.c index f7199dc89..42cb1c538 100644 --- a/src/backends/native/meta-input-device-native.c +++ b/src/backends/native/meta-input-device-native.c @@ -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),