Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
applied dave's highlight patch for big fonts
[dwm.git]
/
draw.c
diff --git
a/draw.c
b/draw.c
index
dc2bdb6
..
bbcfadb
100644
(file)
--- a/
draw.c
+++ b/
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);
}
}