Fix x/y mismatch, patch by David Benjamin.
BUG: 168995 svn path=/trunk/KDE/kdebase/workspace/; revision=846447
This commit is contained in:
parent
ca14652fc0
commit
e57590dc64
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue