Browse Source

applied dave's highlight patch for big fonts

master
Anselm R. Garbe 18 years ago
parent
commit
c8e57332d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      draw.c

+ 1
- 1
draw.c View File

@ -72,7 +72,7 @@ drawtext(const char *text, unsigned long col[ColLast], Bool highlight) {
if(highlight) { if(highlight) {
r.x = dc.x + 2; r.x = dc.x + 2;
r.y = dc.y + 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); XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1);
} }
} }


Loading…
Cancel
Save