aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-17 19:31:42 +0200
committervaxerski <[email protected]>2022-05-17 19:31:42 +0200
commit5fa4b9a7777256924147838901e27de2151e1d8a (patch)
treec762125c29cce68150e51fc61bc8776dc4d99b41
parent473d4591b095299ed14de0cdc6d6fad6ea422a93 (diff)
downloadHyprland-5fa4b9a7777256924147838901e27de2151e1d8a.tar.gz
Hyprland-5fa4b9a7777256924147838901e27de2151e1d8a.zip
fix border geometry
-rw-r--r--src/render/OpenGL.cpp2
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);