forked from mirror/dwm
small fix to separate client title from right-most tag
This commit is contained in:
parent
f1fe19bc2b
commit
9f35cc52fe
1 changed files with 2 additions and 2 deletions
4
draw.c
4
draw.c
|
@ -94,7 +94,7 @@ drawall()
|
|||
void
|
||||
drawstatus()
|
||||
{
|
||||
static const char *mode[] = { "~", "=" };
|
||||
static const char *mode[] = { "~", "|" };
|
||||
int i, x;
|
||||
|
||||
dc.x = dc.y = 0;
|
||||
|
@ -114,7 +114,7 @@ drawstatus()
|
|||
else
|
||||
drawtext(tags[i], dc.norm, sel && sel->tags[i]);
|
||||
}
|
||||
x = dc.x + dc.w;
|
||||
x = dc.x + dc.w + 1;
|
||||
dc.w = textw(stext);
|
||||
dc.x = bx + bw - dc.w;
|
||||
if(dc.x < x) {
|
||||
|
|
Loading…
Reference in a new issue