]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Rendering of the bottom border line was still off by one
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 1 Jun 2009 13:35:59 +0000 (15:35 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 1 Jun 2009 13:35:59 +0000 (15:35 +0200)
src/layout.c

index ab6b7452bc3b3e8b836aa017822d88d016a63e07..8b01471acbad5b966dd20dfe64e91023693dc2d6 100644 (file)
@@ -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) {