add synthetic repaint after crossfade finished
prevents glitches after crossfading translucent window REVIEW: 111888
This commit is contained in:
parent
fbac18a635
commit
b92ebe02aa
1 changed files with 1 additions and 0 deletions
|
@ -284,6 +284,7 @@ void AnimationEffect::prePaintScreen( ScreenPrePaintData& data, int time )
|
||||||
AniData *aData = &(*anim);
|
AniData *aData = &(*anim);
|
||||||
if (aData->attribute == KWin::AnimationEffect::CrossFadePrevious) {
|
if (aData->attribute == KWin::AnimationEffect::CrossFadePrevious) {
|
||||||
oldW->unreferencePreviousWindowPixmap();
|
oldW->unreferencePreviousWindowPixmap();
|
||||||
|
effects->addRepaint(oldW->expandedGeometry());
|
||||||
}
|
}
|
||||||
animationEnded(oldW, anim->attribute, anim->meta);
|
animationEnded(oldW, anim->attribute, anim->meta);
|
||||||
// NOTICE animationEnded is an external call and might have called "::animate"
|
// NOTICE animationEnded is an external call and might have called "::animate"
|
||||||
|
|
Loading…
Reference in a new issue