applied dave's highlight patch for big fonts
authorAnselm R. Garbe <arg@10kloc.org>
Fri, 29 Sep 2006 19:06:27 +0200
changeset 519 6cad48068e4c
parent 518 f35e6c5993ef
child 520 834a77509a64
applied dave's highlight patch for big fonts
draw.c
--- a/draw.c	Fri Sep 29 18:40:32 2006 +0200
+++ b/draw.c	Fri Sep 29 19:06:27 2006 +0200
@@ -72,7 +72,7 @@
 	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);
 	}
 }