clutter: Specify stage on clutter_input_device_update() function

This is the function performing the picking, tell it explicitly the
stage it should happen on.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1486
This commit is contained in:
Carlos Garnacho
2020-06-05 15:33:25 +02:00
committed by Jonas Ådahl
parent 3c8376ad91
commit 6a6894a397
5 changed files with 21 additions and 17 deletions

View File

@ -1044,7 +1044,10 @@ meta_wayland_pointer_start_popup_grab (MetaWaylandPointer *pointer,
void
meta_wayland_pointer_repick (MetaWaylandPointer *pointer)
{
clutter_input_device_update (pointer->device, NULL, FALSE);
MetaBackend *backend = meta_get_backend ();
ClutterStage *stage = CLUTTER_STAGE (meta_backend_get_stage (backend));
clutter_input_device_update (pointer->device, NULL, stage, FALSE);
repick_for_event (pointer, NULL);
}