clutter: Pass timestamp to clutter_input_device_set_actor()
This function emits crossing events, so needs a (most times truthful) timestamp. Make it explicit instead of fetching it from the device. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1486
This commit is contained in:

committed by
Jonas Ådahl

parent
90001f09b3
commit
a76a47fbde
@ -1047,7 +1047,8 @@ meta_wayland_pointer_repick (MetaWaylandPointer *pointer)
|
||||
MetaBackend *backend = meta_get_backend ();
|
||||
ClutterStage *stage = CLUTTER_STAGE (meta_backend_get_stage (backend));
|
||||
|
||||
clutter_input_device_update (pointer->device, NULL, stage, FALSE);
|
||||
clutter_input_device_update (pointer->device, NULL, stage, FALSE,
|
||||
CLUTTER_CURRENT_TIME);
|
||||
repick_for_event (pointer, NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user