pass/surface: make sure popup blurs are marked for require live blur
fixes #10535
This commit is contained in:
parent
a58ab20e8b
commit
2347050285
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue