From b0b88a63b6d17b759a85c28cab29c5986fa6e3ff Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 25 Oct 2023 22:38:14 +0100 Subject: [PATCH] renderer: fix missed box scale --- src/render/Renderer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 290e5171..1e95c865 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -433,6 +433,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec* if (pWindow->m_pWLSurface.small() && !pWindow->m_pWLSurface.m_bFillIgnoreSmall && renderdata.blur) { wlr_box wb = {renderdata.x, renderdata.y, renderdata.w, renderdata.h}; + scaleBox(&wb, pMonitor->scale); g_pHyprOpenGL->renderRectWithBlur(&wb, CColor(0, 0, 0, 0), renderdata.dontRound ? 0 : renderdata.rounding - 1); renderdata.blur = false; }