fix borders on scaled
This commit is contained in:
parent
6f1b9d6af9
commit
f5bd30569f
1 changed files with 2 additions and 0 deletions
|
|
@ -245,6 +245,8 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, SMonitor* pMonitor, timespec*
|
||||||
|
|
||||||
wlr_box windowBox = {renderdata.x - pMonitor->vecPosition.x, renderdata.y - pMonitor->vecPosition.y, renderdata.w, renderdata.h};
|
wlr_box windowBox = {renderdata.x - pMonitor->vecPosition.x, renderdata.y - pMonitor->vecPosition.y, renderdata.w, renderdata.h};
|
||||||
|
|
||||||
|
scaleBox(&windowBox, pMonitor->scale);
|
||||||
|
|
||||||
g_pHyprOpenGL->renderBorder(&windowBox, col, rounding);
|
g_pHyprOpenGL->renderBorder(&windowBox, col, rounding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue