renderer: fix missed box scale

This commit is contained in:
Vaxry 2023-10-25 22:38:14 +01:00
parent 5b0dc779ed
commit b0b88a63b6

View file

@ -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;
}