diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 19:06:27 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 19:06:27 +0200 |
| commit | c8e57332d1a5167d213af0fc9438ff2b56c74fbb (patch) | |
| tree | 009938ed12ee7d3872f22afa016967c606d562fe | |
| parent | using ff tiled again, seems to work perfectly with new bottom stack (diff) | |
| download | dwm-c8e57332d1a5167d213af0fc9438ff2b56c74fbb.tar.gz dwm-c8e57332d1a5167d213af0fc9438ff2b56c74fbb.zip | |
applied dave's highlight patch for big fonts
Diffstat (limited to '')
| -rw-r--r-- | draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -72,7 +72,7 @@ drawtext(const char *text, unsigned long col[ColLast], Bool highlight) { | |||
| 72 | if(highlight) { | 72 | if(highlight) { |
| 73 | r.x = dc.x + 2; | 73 | r.x = dc.x + 2; |
| 74 | r.y = dc.y + 2; | 74 | r.y = dc.y + 2; |
| 75 | r.width = r.height = 3; | 75 | r.width = r.height = (h + 2) / 4; |
| 76 | XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); | 76 | XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); |
| 77 | } | 77 | } |
| 78 | } | 78 | } |
