[mutter/wip/carlosg/unthrottled-wayland: 7/27] backends/x11: Use clutter_do_event() for event delivery




commit 35b8346a33852a5118b4a060b78b5324a6bc9e7c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Oct 31 23:19:55 2020 +0100

    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>

 src/backends/x11/meta-event-x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/x11/meta-event-x11.c b/src/backends/x11/meta-event-x11.c
index d1a94bb564..d230a3406f 100644
--- a/src/backends/x11/meta-event-x11.c
+++ b/src/backends/x11/meta-event-x11.c
@@ -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;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]