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.
icc-effect-5.14.5
Fredrik Höglund 2011-05-08 11:51:23 +02:00
parent 032c2cc333
commit 9a08f99958
1 changed files with 1 additions and 1 deletions

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