From 170ba601912a45b772e46bf3065c598b68139c6c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 1 Jun 2009 15:35:59 +0200 Subject: [PATCH] Bugfix: Rendering of the bottom border line was still off by one --- src/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout.c b/src/layout.c index ab6b7452..8b01471a 100644 --- a/src/layout.c +++ b/src/layout.c @@ -146,7 +146,7 @@ void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t draw /* Draw the lines */ xcb_draw_line(conn, drawable, gc, color->border, 0, offset, client->rect.width, offset); xcb_draw_line(conn, drawable, gc, color->border, 2, offset + font->height + 3, - client->rect.width - 4, offset + font->height + 3); + client->rect.width - 3, offset + font->height + 3); /* If the client has a title, we draw it */ if (client->name != NULL) { -- 2.39.5