mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
18c792d6f8
Add a new signal that's emitted when the stage views an actor being painted on have changed, "stage-views-changed". For example this signal can be helpful when tracking whether an actor is painted on multiple stage views or only one. Since we must clear the stage-views list when an actor leaves the stage (actors that aren't attached to a stage don't get notified about the stage views being changed/replaced), we also emit the new signal when an actor gets detached from the stage (otherwise there would be an edge case where no signal is emitted but it really should: An actor is visible on a stage view, then detached from the stage, and then attached again and immeditely moved outside the view). Also skip the comparison of the old stage-views list and the new one if nobody is listening to the signal to save some resources. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1196 |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |