diff --git a/effects/wobblywindows/wobblywindows.cpp b/effects/wobblywindows/wobblywindows.cpp index b6fccc4fd8..f70d7e0967 100644 --- a/effects/wobblywindows/wobblywindows.cpp +++ b/effects/wobblywindows/wobblywindows.cpp @@ -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.