Don't reset hover value.
svn path=/branches/work/kwin_composite/; revision=654366
This commit is contained in:
parent
520f3e27ac
commit
9268e7b27c
1 changed files with 6 additions and 1 deletions
|
@ -376,6 +376,12 @@ void PresentWindowsEffect::rearrangeWindows()
|
|||
(*it).old_area = (*it).area;
|
||||
(*it).old_scale = (*it).scale;
|
||||
}
|
||||
// Initialize new entries
|
||||
foreach( EffectWindow* w, windowlist )
|
||||
if( !mWindowData.contains( w ))
|
||||
{
|
||||
mWindowData[ w ].hover = 0;
|
||||
}
|
||||
mRearranging = 0; // start animation again
|
||||
}
|
||||
|
||||
|
@ -625,7 +631,6 @@ void PresentWindowsEffect::calculateWindowTransformationsClosest(EffectWindowLis
|
|||
}
|
||||
(*it).area = geom;
|
||||
(*it).scale = scale;
|
||||
(*it).hover = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue