don't zoom or clamp windows on effect start/end
REVIEW: 108477 BUG: 294428icc-effect-5.14.5
parent
9a5db24cdf
commit
c312914f6e
|
@ -326,7 +326,7 @@ void PresentWindowsEffect::paintWindow(EffectWindow *w, int mask, QRegion region
|
||||||
m_motionManager.apply(w, data);
|
m_motionManager.apply(w, data);
|
||||||
QRect rect = m_motionManager.transformedGeometry(w).toRect();
|
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
|
// 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);
|
QRect area = effects->clientArea(FullScreenArea, w);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue