Skip to content

Commit

Permalink
blur: fix build on plasma < 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
taj-ny committed Nov 26, 2024
1 parent e817437 commit f1ce9bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/blur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "internalwindow.h"
#include "opengl/glutils.h"
#include "opengl/glplatform.h"
#include "scene/windowitem.h"
#include "utils.h"
#include "utils/xcbutils.h"
#include "wayland/blur.h"
Expand Down Expand Up @@ -365,7 +364,7 @@ void BlurEffect::prePaintWindow(EffectWindow *w, WindowPrePaintData &data, std::
const auto hadWindowBehind = blurWindow->hasWindowBehind();
blurWindow->setHasWindowBehind(m_windowGeometriesSum.intersects(w->frameGeometry().toRect()));
if (hadWindowBehind != blurWindow->hasWindowBehind()) {
data.paint += w->windowItem()->boundingRect().toRect();
data.paint += w->expandedGeometry().toRect();
}
}

Expand Down

0 comments on commit f1ce9bf

Please sign in to comment.