Fix x/y mismatch, patch by David Benjamin.

BUG: 168995


svn path=/trunk/KDE/kdebase/workspace/; revision=846447
This commit is contained in:
Luboš Luňák 2008-08-13 13:53:36 +00:00
parent ca14652fc0
commit e57590dc64

View file

@ -184,7 +184,7 @@ void PresentWindowsEffect::paintWindow( EffectWindow* w, int mask, QRegion regio
else
{
data.xScale = interpolate(data.xScale, windata.scale, mActiveness);
data.yScale = interpolate(data.xScale, windata.scale, mActiveness);
data.yScale = interpolate(data.yScale, windata.scale, mActiveness);
data.xTranslate = (int)interpolate(data.xTranslate, windata.area.left() - w->x(), mActiveness);
data.yTranslate = (int)interpolate(data.yTranslate, windata.area.top() - w->y(), mActiveness);
}