From 5e22d3912b965ae5ae9b9610f722e1d0e6b577f7 Mon Sep 17 00:00:00 2001 From: Philipp Knechtges Date: Fri, 20 May 2011 21:57:28 +0200 Subject: [PATCH] kwin: fixes graphical glitches in the wobblywindows effect Before this patch, the damaged area had been underestimated. --- effects/wobblywindows/wobblywindows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.