mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 13:25:58 +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->height += 2 * thick;
|
||||
|
||||
round += thick; // cuz yeah
|
||||
|
||||
// only draw on non-stencild.
|
||||
glStencilFunc(GL_NOTEQUAL, 1, -1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue