From f9ecbee57b2fd6dba9c6e58a1f9abdafe35bc12f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 28 May 2011 17:41:27 +0200 Subject: [PATCH] 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 --- effects/desktopgrid/desktopgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/desktopgrid/desktopgrid.cpp b/effects/desktopgrid/desktopgrid.cpp index 55ec053b5a..e36ac8aca2 100644 --- a/effects/desktopgrid/desktopgrid.cpp +++ b/effects/desktopgrid/desktopgrid.cpp @@ -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