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




commit a028e32aa3b17ef9453a1793c7b33824800c8719
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.

 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]