wayland/actor-surface: Don't sync actor state for frozen actors
This ensures that sub-surfaces remain visible during the fade-out animation of their window. Fixes:be4bf8da9c
("wayland/surface: Keep applied sub-surface branch node linked up") Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3508 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3840> (cherry picked from commitfab78d951a
)
This commit is contained in:
parent
ce4a22b80f
commit
ec5444f541
1 changed files with 5 additions and 0 deletions
|
@ -289,6 +289,11 @@ meta_wayland_actor_surface_sync_actor_state (MetaWaylandActorSurface *actor_surf
|
|||
{
|
||||
MetaWaylandActorSurfaceClass *actor_surface_class =
|
||||
META_WAYLAND_ACTOR_SURFACE_GET_CLASS (actor_surface);
|
||||
MetaWaylandActorSurfacePrivate *priv =
|
||||
meta_wayland_actor_surface_get_instance_private (actor_surface);
|
||||
|
||||
if (priv->actor && meta_surface_actor_is_frozen (priv->actor))
|
||||
return;
|
||||
|
||||
actor_surface_class->sync_actor_state (actor_surface);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue