kwin: fixes graphical glitches in the wobblywindows effect

Before this patch, the damaged area had been underestimated.
icc-effect-5.14.5
Philipp Knechtges 2011-05-20 21:57:28 +02:00
parent 1b3657ec0e
commit 5e22d3912b
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ void WobblyWindowsEffect::paintWindow(EffectWindow* w, int mask, QRegion region,
bottom = qMax(bottom, data.quads[i].bottom());
}
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.