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




commit e4400f7bf1af9f20935fe5860afee5c72bf44aa1
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]