Skip to content

Commit

Permalink
fix blur not working behind non-content surfaces (menu popup...)
Browse files Browse the repository at this point in the history
  • Loading branch information
AldanTanneo committed Oct 9, 2024
1 parent eaa5583 commit 2d07103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blur/blur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 2d07103

Please sign in to comment.