Don't reset hover value.

svn path=/branches/work/kwin_composite/; revision=654366
icc-effect-5.14.5
Luboš Luňák 2007-04-15 22:08:18 +00:00
parent 520f3e27ac
commit 9268e7b27c
1 changed files with 6 additions and 1 deletions

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