diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 2b979ba09..7660e40dd 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -2288,7 +2288,13 @@ meta_window_actor_pre_paint (MetaWindowActor *self) return; } - if (priv->received_damage && !self->priv->unredirected) + if (priv->unredirected) + { + /* Nothing to do here until/if the window gets redirected again */ + return; + } + + if (priv->received_damage) { meta_error_trap_push (display); XDamageSubtract (xdisplay, priv->damage, None, None);