don't zoom or clamp windows on effect start/end
REVIEW: 108477 BUG: 294428
This commit is contained in:
parent
5d0e383924
commit
ad36e510e4
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,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 a new issue