mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:49:48 +01:00
fix border geometry
This commit is contained in:
parent
473d4591b0
commit
5fa4b9a777
1 changed files with 2 additions and 0 deletions
|
@ -593,6 +593,8 @@ 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
|
||||||
|
|
||||||
// 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