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:
parent
032c2cc333
commit
9a08f99958
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue