fix border geometry

This commit is contained in:
vaxerski 2022-05-17 19:31:42 +02:00
parent 473d4591b0
commit 5fa4b9a777

View file

@ -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);