From: Michael Stapelberg Date: Mon, 1 Jun 2009 13:35:59 +0000 (+0200) Subject: Bugfix: Rendering of the bottom border line was still off by one X-Git-Tag: 3.b~76 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=170ba601912a45b772e46bf3065c598b68139c6c;p=i3%2Fi3 Bugfix: Rendering of the bottom border line was still off by one --- 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) {