Also draw right tab border for split containers (Thanks alex)

fixes #696
next
Michael Stapelberg 2012-12-19 21:12:38 +01:00
parent 3228a5af28
commit ae605bdd39
1 changed files with 2 additions and 1 deletions

View File

@ -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 dont 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