Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit f1ce9bf

Browse files
committed
blur: fix build on plasma < 6.2
1 parent e817437 commit f1ce9bf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/blur.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "internalwindow.h"
1818
#include "opengl/glutils.h"
1919
#include "opengl/glplatform.h"
20-
#include "scene/windowitem.h"
2120
#include "utils.h"
2221
#include "utils/xcbutils.h"
2322
#include "wayland/blur.h"
@@ -365,7 +364,7 @@ void BlurEffect::prePaintWindow(EffectWindow *w, WindowPrePaintData &data, std::
365364
const auto hadWindowBehind = blurWindow->hasWindowBehind();
366365
blurWindow->setHasWindowBehind(m_windowGeometriesSum.intersects(w->frameGeometry().toRect()));
367366
if (hadWindowBehind != blurWindow->hasWindowBehind()) {
368-
data.paint += w->windowItem()->boundingRect().toRect();
367+
data.paint += w->expandedGeometry().toRect();
369368
}
370369
}
371370

0 commit comments

Comments
 (0)