mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
pass/surface: make sure popup blurs are marked for require live blur
fixes #10535
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user