mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
0f0466fa8e
Right now and due to loads of refactorings lately, the event emission paths are a bit cluttered (ha ha ha) around in Clutter. For example the event target actor gets set in clutter-main.c, but event emission is actually managed by ClutterStage these days. Since we'll introduce implicit grabbing of touch/button-press sequences soon, let's shuffle things around a bit to make that easier: Move event emission to the stage, it now gets a ClutterEvent without any extra context like the target actor from clutter-main. The stage then looks up the target actor itself and emits the event to the appropriate actors in the scenegraph. A special path is introduced for emitting crossing events, because here the event-receiving actors don't follow the "capture+bubble from pointer actor to grab actor" rule. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2342> |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |