aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-11-03 21:58:02 +0000
committerVaxry <[email protected]>2023-11-03 21:58:02 +0000
commit15b25d58505f98005e44de18b7f6a83dc8b18877 (patch)
tree6d37a288db659b3bfb6571a6b47f86177bac10c4
parent21ba8b363e94294c3af8ac535728d5ad27762d35 (diff)
downloadHyprland-15b25d58505f98005e44de18b7f6a83dc8b18877.tar.gz
Hyprland-15b25d58505f98005e44de18b7f6a83dc8b18877.zip
renderer: render oversized blur with respect to fade alpha
-rw-r--r--src/render/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 79aabc6e..1b59afe8 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -436,7 +436,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
if (pWindow->m_pWLSurface.small() && !pWindow->m_pWLSurface.m_bFillIgnoreSmall && renderdata.blur && *PBLUR) {
wlr_box wb = {renderdata.x - pMonitor->vecPosition.x, renderdata.y - pMonitor->vecPosition.y, renderdata.w, renderdata.h};
scaleBox(&wb, pMonitor->scale);
- g_pHyprOpenGL->renderRectWithBlur(&wb, CColor(0, 0, 0, 0), renderdata.dontRound ? 0 : renderdata.rounding - 1);
+ g_pHyprOpenGL->renderRectWithBlur(&wb, CColor(0, 0, 0, 0), renderdata.dontRound ? 0 : renderdata.rounding - 1, renderdata.fadeAlpha);
renderdata.blur = false;
}