Fix x/y mismatch, patch by David Benjamin.

BUG: 168995


svn path=/branches/KDE/4.1/kdebase/workspace/; revision=846448
This commit is contained in:
Luboš Luňák 2008-08-13 13:55:07 +00:00
parent 199bf254c5
commit e5d65e3d0a

View file

@ -182,7 +182,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);
}