From 2d07103f47049fe4ad91370185ecc4527e916e3e Mon Sep 17 00:00:00 2001 From: AldanTanneo Date: Wed, 9 Oct 2024 17:12:10 +0200 Subject: [PATCH] fix blur not working behind non-content surfaces (menu popup...) --- src/blur/blur.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blur/blur.cpp b/src/blur/blur.cpp index 034b632..64ba560 100644 --- a/src/blur/blur.cpp +++ b/src/blur/blur.cpp @@ -416,7 +416,7 @@ QRegion BlurEffect::blurRegion(EffectWindow *w) const if (content->isEmpty()) { // An empty region means that the blur effect should be enabled // for the whole window. - region = w->contentsRect().toRect(); + region = w->rect().toRect(); } else { region = content->translated(w->contentsRect().topLeft().toPoint()) & w->contentsRect().toRect(); }