about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 19:06:27 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 19:06:27 +0200
commitc8e57332d1a5167d213af0fc9438ff2b56c74fbb (patch)
tree009938ed12ee7d3872f22afa016967c606d562fe
parentc045459917ef3197fec75fa951d2f9d6f9bf3a3d (diff)
downloaddwm-c8e57332d1a5167d213af0fc9438ff2b56c74fbb.tar.gz
applied dave's highlight patch for big fonts
-rw-r--r--draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw.c b/draw.c
index dc2bdb6..bbcfadb 100644
--- a/draw.c
+++ b/draw.c
@@ -72,7 +72,7 @@ drawtext(const char *text, unsigned long col[ColLast], Bool highlight) {
 	if(highlight) {
 		r.x = dc.x + 2;
 		r.y = dc.y + 2;
-		r.width = r.height = 3;
+		r.width = r.height = (h + 2) / 4;
 		XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1);
 	}
 }