Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Draw the border lines in the window decoration correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed May 31, 2009
1 parent 517c47c commit c73bb1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layout.c
Expand Up @@ -153,9 +153,9 @@ void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t draw
}

/* Draw the lines */
xcb_draw_line(conn, drawable, gc, border_color, 2, offset, client->rect.width, offset);
xcb_draw_line(conn, drawable, gc, border_color, 0, offset, client->rect.width, offset);
xcb_draw_line(conn, drawable, gc, border_color, 2, offset + font->height + 3,
2 + client->rect.width, offset + font->height + 3);
client->rect.width - 4, offset + font->height + 3);

/* If the client has a title, we draw it */
if (client->name != NULL) {
Expand Down

0 comments on commit c73bb1f

Please sign in to comment.