tapplied dave's highlight patch for big fonts - dwm - [fork] customized build o… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c8e57332d1a5167d213af0fc9438ff2b56c74fbb | |
parent c045459917ef3197fec75fa951d2f9d6f9bf3a3d | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Fri, 29 Sep 2006 19:06:27 +0200 | |
applied dave's highlight patch for big fonts | |
Diffstat: | |
M draw.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/draw.c b/draw.c | |
t@@ -72,7 +72,7 @@ drawtext(const char *text, unsigned long col[ColLast], Bool … | |
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); | |
} | |
} |