mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
5b0a7b3a33
When picking which frame clock to use, we traverse up in the actor hierarchy until a suitable frame clock is found. ClutterTimeline also listens to the 'stage-views-changed' to make sure it's always attached to the correct frame clock. However, there is one special situation where neither of them would work: when the stage doesn't have a frame clock yet, and the actor of the timeline is outside any stage view. When that happens, the returned frame clock is NULL, and 'stage-views-changed' is never emitted by the actor. Monitor the stage for stage view changes when the frame clock is NULL. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285