diff options
author | vaxerski <[email protected]> | 2022-05-17 19:31:42 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-17 19:31:42 +0200 |
commit | 5fa4b9a7777256924147838901e27de2151e1d8a (patch) | |
tree | c762125c29cce68150e51fc61bc8776dc4d99b41 /src/render/OpenGL.cpp | |
parent | 473d4591b095299ed14de0cdc6d6fad6ea422a93 (diff) | |
download | Hyprland-5fa4b9a7777256924147838901e27de2151e1d8a.tar.gz Hyprland-5fa4b9a7777256924147838901e27de2151e1d8a.zip |
fix border geometry
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r-- | src/render/OpenGL.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index be436d1d..d07a6294 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -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); |