Ensure Lanczos is disabled during start animation
For what reason ever motion manager thinks that windows are not moving during the start animation (but are during the stop animation). So we also have to look on the timeline to decide whether we should disable lanczos filter on the windows. Now wonder the animation was stuttering. BUG: 274292 FIXED-IN: 4.7.0
This commit is contained in:
parent
20941aca53
commit
f9ecbee57b
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ void DesktopGridEffect::paintWindow(EffectWindow* w, int mask, QRegion region, W
|
|||
screenQuads.append(quad);
|
||||
transformedGeo = manager.transformedGeometry(w);
|
||||
quadsAdded = true;
|
||||
if (!manager.areWindowsMoving())
|
||||
if (!manager.areWindowsMoving() && timeline.currentValue() == 1.0)
|
||||
mask |= PAINT_WINDOW_LANCZOS;
|
||||
} else if (w->screen() != screen)
|
||||
quadsAdded = true; // we don't want parts of overlapping windows on the other screen
|
||||
|
|
Loading…
Reference in a new issue