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
parent
032c2cc333
commit
9a08f99958
|
@ -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 New Issue