Don't reset hover value.

svn path=/branches/work/kwin_composite/; revision=654366
This commit is contained in:
Luboš Luňák 2007-04-15 22:08:18 +00:00
parent 520f3e27ac
commit 9268e7b27c

View file

@ -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;
}
}