kwin: fixes graphical glitches in the wobblywindows effect

Before this patch, the damaged area had been underestimated.
This commit is contained in:
Philipp Knechtges 2011-05-20 21:57:28 +02:00
parent 1b3657ec0e
commit 5e22d3912b

View file

@ -345,7 +345,7 @@ void WobblyWindowsEffect::paintWindow(EffectWindow* w, int mask, QRegion region,
bottom = qMax(bottom, data.quads[i].bottom()); bottom = qMax(bottom, data.quads[i].bottom());
} }
m_updateRegion = m_updateRegion.united(QRect(w->x() + left, w->y() + top, m_updateRegion = m_updateRegion.united(QRect(w->x() + left, w->y() + top,
right - left, bottom - top)); right - left + 2, bottom - top + 2));
} }
// Call the next effect. // Call the next effect.