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:
parent
199bf254c5
commit
e5d65e3d0a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue