From 679e36d82e6c8d165caf4b0ba0ad34d7e77de686 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 31 May 2022 20:38:45 +0200 Subject: [PATCH] fix border size on scaled outputs --- src/render/OpenGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 118f902b..061efc13 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -637,7 +637,7 @@ void CHyprOpenGLImpl::renderBorder(wlr_box* box, const CColor& col, int thick, i box->width += 2 * thick; box->height += 2 * thick; - round += thick; // cuz yeah + round += thick * m_RenderData.pMonitor->scale; // cuz yeah // only draw on non-stencild. glStencilFunc(GL_NOTEQUAL, 1, -1);