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

REVIEW: 108477
BUG: 294428
icc-effect-5.14.5
Thomas Lübking 2013-01-18 21:43:27 +01:00
parent 9a5db24cdf
commit c312914f6e
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,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);