aewl

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 diff
     1.1 --- a/draw.c	Fri Sep 29 18:40:32 2006 +0200
     1.2 +++ b/draw.c	Fri Sep 29 19:06:27 2006 +0200
     1.3 @@ -72,7 +72,7 @@
     1.4  	if(highlight) {
     1.5  		r.x = dc.x + 2;
     1.6  		r.y = dc.y + 2;
     1.7 -		r.width = r.height = 3;
     1.8 +		r.width = r.height = (h + 2) / 4;
     1.9  		XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1);
    1.10  	}
    1.11  }