diff --git a/libkwineffects/kwinanimationeffect.cpp b/libkwineffects/kwinanimationeffect.cpp index 7b0e780403..5c114af7d2 100644 --- a/libkwineffects/kwinanimationeffect.cpp +++ b/libkwineffects/kwinanimationeffect.cpp @@ -284,6 +284,7 @@ void AnimationEffect::prePaintScreen( ScreenPrePaintData& data, int time ) AniData *aData = &(*anim); if (aData->attribute == KWin::AnimationEffect::CrossFadePrevious) { oldW->unreferencePreviousWindowPixmap(); + effects->addRepaint(oldW->expandedGeometry()); } animationEnded(oldW, anim->attribute, anim->meta); // NOTICE animationEnded is an external call and might have called "::animate"