From 5fa4b9a7777256924147838901e27de2151e1d8a Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 17 May 2022 19:31:42 +0200 Subject: fix border geometry --- src/render/OpenGL.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/render/OpenGL.cpp') 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); -- cgit v1.2.3