mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 06:09:50 +01:00
renderer: fix missed box scale
This commit is contained in:
parent
5b0dc779ed
commit
b0b88a63b6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue