projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c045459
)
applied dave's highlight patch for big fonts
author
Anselm R. Garbe
<arg@10kloc.org>
Fri, 29 Sep 2006 17:06:27 +0000
(19:06 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Fri, 29 Sep 2006 17:06:27 +0000
(19:06 +0200)
draw.c
patch
|
blob
|
history
diff --git
a/draw.c
b/draw.c
index dc2bdb67481e6b07d3202fa6f461ae2c0e10f826..bbcfadb9e39ef2d4f1397a3ecbe57df94c826306 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);
}
}