From 9a08f99958484a653f90bb903524d6f65943abc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Sun, 8 May 2011 11:51:23 +0200 Subject: [PATCH] kwin/blur: Fix a regression from a6bdff71 Subtract the screen-relative contents rect of the window from the paint region, not the window relative rect. --- effects/blur/blur.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp index be13edbacd..11de9fc780 100644 --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -243,7 +243,7 @@ void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time) continue; if (!window->hasAlpha()) { - paint -= window->contentsRect(); + paint -= window->contentsRect().translated(window->pos()); if (paint.isEmpty()) break; }