diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 39864d6c6..eb21c4611 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -1155,7 +1155,7 @@ gboolean meta_window_actor_should_unredirect (MetaWindowActor *self) { MetaWindowActorPrivate *priv = self->priv; - if (priv->surface) + if (!meta_window_actor_is_destroyed (self) && priv->surface) return meta_surface_actor_should_unredirect (priv->surface); else return FALSE;