backends/x11: Use clutter_do_event() for event delivery

It'll do some things that will be no longer optional here. So don't
avoid this step towards event emission.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1915>
This commit is contained in:
Carlos Garnacho 2020-10-31 23:19:55 +01:00 committed by Marge Bot
parent c484f13b34
commit 35b8346a33

View File

@ -102,7 +102,7 @@ meta_x11_handle_event (XEvent *xevent)
while (spin > 0 && (event = clutter_event_get ()))
{
/* forward the event into clutter for emission etc. */
_clutter_stage_queue_event (event->any.stage, event, FALSE);
clutter_do_event (event);
--spin;
}