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.
This commit is contained in:
Fredrik Höglund 2011-05-08 11:51:23 +02:00
parent 032c2cc333
commit 9a08f99958

View file

@ -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;
}