summaryrefslogtreecommitdiff
path: root/src/render/pass/SurfacePassElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/pass/SurfacePassElement.cpp')
-rw-r--r--src/render/pass/SurfacePassElement.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/pass/SurfacePassElement.cpp b/src/render/pass/SurfacePassElement.cpp
index d161f909..2163566a 100644
--- a/src/render/pass/SurfacePassElement.cpp
+++ b/src/render/pass/SurfacePassElement.cpp
@@ -195,6 +195,9 @@ bool CSurfacePassElement::needsLiveBlur() {
if (!m_data.pLS && !m_data.pWindow)
return BLUR;
+ if (m_data.popup)
+ return BLUR;
+
const bool NEWOPTIM = g_pHyprOpenGL->shouldUseNewBlurOptimizations(m_data.pLS, m_data.pWindow);
return BLUR && !NEWOPTIM;
@@ -209,6 +212,9 @@ bool CSurfacePassElement::needsPrecomputeBlur() {
if (!m_data.pLS && !m_data.pWindow)
return BLUR;
+ if (m_data.popup)
+ return false;
+
const bool NEWOPTIM = g_pHyprOpenGL->shouldUseNewBlurOptimizations(m_data.pLS, m_data.pWindow);
return BLUR && NEWOPTIM;