mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 15:45:57 +01:00
fix border size on scaled outputs
This commit is contained in:
parent
0f8712ed64
commit
679e36d82e
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ void CHyprOpenGLImpl::renderBorder(wlr_box* box, const CColor& col, int thick, i
|
||||||
box->width += 2 * thick;
|
box->width += 2 * thick;
|
||||||
box->height += 2 * thick;
|
box->height += 2 * thick;
|
||||||
|
|
||||||
round += thick; // cuz yeah
|
round += thick * m_RenderData.pMonitor->scale; // cuz yeah
|
||||||
|
|
||||||
// only draw on non-stencild.
|
// only draw on non-stencild.
|
||||||
glStencilFunc(GL_NOTEQUAL, 1, -1);
|
glStencilFunc(GL_NOTEQUAL, 1, -1);
|
||||||
|
|
Loading…
Reference in a new issue