Commit c8e5733

Anselm R. Garbe <arg@10kloc.org>
2006-09-29 13:06:27
applied dave's highlight patch for big fonts
1 parent c045459
Changed files (1)
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);
 	}
 }