From: Michael Stapelberg Date: Wed, 19 Dec 2012 20:12:38 +0000 (+0100) Subject: Also draw right tab border for split containers (Thanks alex) X-Git-Tag: 4.5~106^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ae605bdd394bdf83a8015ac626b222fd40e35b04;p=i3%2Fi3 Also draw right tab border for split containers (Thanks alex) fixes #696 --- diff --git a/src/x.c b/src/x.c index 78c6de33..8f0ae37d 100644 --- a/src/x.c +++ b/src/x.c @@ -505,7 +505,7 @@ void x_draw_decoration(Con *con) { con->deco_rect.width - 2); free(title); - goto copy_pixmaps; + goto after_title; } if (win->name == NULL) @@ -533,6 +533,7 @@ void x_draw_decoration(Con *con) { con->deco_rect.x + 2 + indent_px, con->deco_rect.y + text_offset_y, con->deco_rect.width - 2 - indent_px); +after_title: /* Since we don’t clip the text at all, it might in some cases be painted * on the border pixels on the right side of a window. Therefore, we draw * the right border again after rendering the text (and the unconnected