don't zoom or clamp windows on effect start/end

REVIEW: 108477
BUG: 294428
This commit is contained in:
Thomas Lübking 2013-01-18 21:43:27 +01:00
parent 5d0e383924
commit ad36e510e4

View file

@ -337,7 +337,7 @@ void PresentWindowsEffect::paintWindow(EffectWindow *w, int mask, QRegion region
m_motionManager.apply(w, data);
QRect rect = m_motionManager.transformedGeometry(w).toRect();
if (m_activated && winData->highlight > 0.0) {
if (m_activated && winData->highlight > 0.0 && !m_motionManager.areWindowsMoving()) {
// scale the window (interpolated by the highlight level) to at least 105% or to cover 1/16 of the screen size - yet keep it in screen bounds
QRect area = effects->clientArea(FullScreenArea, w);