diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-31 20:38:45 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-31 20:38:45 +0200 |
| commit | 679e36d82e6c8d165caf4b0ba0ad34d7e77de686 (patch) | |
| tree | a5c1e00852400bd1774621ab70301adb36620919 /src/render/OpenGL.cpp | |
| parent | 0f8712ed64e0b8c81cbbaa38e76edca4ffd422be (diff) | |
fix border size on scaled outputs
Diffstat (limited to 'src/render/OpenGL.cpp')
| -rw-r--r-- | src/render/OpenGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
