diff draw.c @ 519:6cad48068e4c

applied dave's highlight patch for big fonts
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 19:06:27 +0200
parents e5f8d6ac509c
children 451f19d48845
line wrap: on
line diff
--- 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);
 	}
 }