diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -607,10 +607,10 @@ } if (!shape.isEmpty()) { - doBlur(shape, screen, data.opacity(), data.screenProjectionMatrix(), w->isDock(), w->geometry()); + doBlur(shape, screen, data.opacity(), data.screenProjectionMatrix(),!w->hasDecoration(), w->geometry()); } } - + // Draw the window over the blurred area effects->drawWindow(w, mask, region, data); } @@ -655,7 +655,7 @@ m_noiseTexture.setWrapMode(GL_REPEAT); } -void BlurEffect::doBlur(const QRegion& shape, const QRect& screen, const float opacity, const QMatrix4x4 &screenProjection, bool isDock, QRect windowRect) +void BlurEffect::doBlur(const QRegion& shape, const QRect& screen, const float opacity, const QMatrix4x4 &screenProjection, bool noDecoration, QRect windowRect) { // Blur would not render correctly on a secondary monitor because of wrong coordinates // BUG: 393723 @@ -686,7 +686,7 @@ * We want to avoid this on panels, because it looks really weird and ugly * when maximized windows or windows near the panel affect the dock blur. */ - if (isDock) { + if (noDecoration) { m_renderTargets.last()->blitFromFramebuffer(sourceRect, destRect); if (useSRGB) {