mirror of
https://github.com/brl/mutter.git
synced 2025-03-01 02:54:09 +00:00

_clutter_actor_handle_event() currently allocates a new GPtrArray on the heap for every single event emission, let's avoid this by keeping an array around in ClutterStage and reusing that. This is moving the last few bits of event emission into ClutterStage, which will be useful when we introduce implicit grabbing in subsequent commits. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2342>