Don't reset hover value.
svn path=/branches/work/kwin_composite/; revision=654366icc-effect-5.14.5
parent
520f3e27ac
commit
9268e7b27c
|
@ -376,6 +376,12 @@ void PresentWindowsEffect::rearrangeWindows()
|
||||||
(*it).old_area = (*it).area;
|
(*it).old_area = (*it).area;
|
||||||
(*it).old_scale = (*it).scale;
|
(*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
|
mRearranging = 0; // start animation again
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -625,7 +631,6 @@ void PresentWindowsEffect::calculateWindowTransformationsClosest(EffectWindowLis
|
||||||
}
|
}
|
||||||
(*it).area = geom;
|
(*it).area = geom;
|
||||||
(*it).scale = scale;
|
(*it).scale = scale;
|
||||||
(*it).hover = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue