Bugfix: Rendering of the bottom border line was still off by one

This commit is contained in:
Michael Stapelberg 2009-06-01 15:35:59 +02:00
parent e500d3fbaf
commit 170ba60191
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t draw
/* Draw the lines */ /* 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, 0, offset, client->rect.width, offset);
xcb_draw_line(conn, drawable, gc, color->border, 2, offset + font->height + 3, 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 the client has a title, we draw it */
if (client->name != NULL) { if (client->name != NULL) {