diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-08-25 14:46:01 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-08-25 14:46:01 +0200 |
| commit | 9f35cc52fe27f694ce146356e6c71267ecd19217 (patch) | |
| tree | 7859ea55091baf761d83129001fbb1a36ed49c16 /draw.c | |
| parent | restored config.arg.h (diff) | |
| download | dwm-9f35cc52fe27f694ce146356e6c71267ecd19217.tar.gz dwm-9f35cc52fe27f694ce146356e6c71267ecd19217.zip | |
small fix to separate client title from right-most tag
Diffstat (limited to '')
| -rw-r--r-- | draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -94,7 +94,7 @@ drawall() | |||
| 94 | void | 94 | void |
| 95 | drawstatus() | 95 | drawstatus() |
| 96 | { | 96 | { |
| 97 | static const char *mode[] = { "~", "=" }; | 97 | static const char *mode[] = { "~", "|" }; |
| 98 | int i, x; | 98 | int i, x; |
| 99 | 99 | ||
| 100 | dc.x = dc.y = 0; | 100 | dc.x = dc.y = 0; |
| @@ -114,7 +114,7 @@ drawstatus() | |||
| 114 | else | 114 | else |
| 115 | drawtext(tags[i], dc.norm, sel && sel->tags[i]); | 115 | drawtext(tags[i], dc.norm, sel && sel->tags[i]); |
| 116 | } | 116 | } |
| 117 | x = dc.x + dc.w; | 117 | x = dc.x + dc.w + 1; |
| 118 | dc.w = textw(stext); | 118 | dc.w = textw(stext); |
| 119 | dc.x = bx + bw - dc.w; | 119 | dc.x = bx + bw - dc.w; |
| 120 | if(dc.x < x) { | 120 | if(dc.x < x) { |
