Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
added several other stuff
[dwm.git]
/
draw.c
diff --git
a/draw.c
b/draw.c
index
cf7f14e
..
b89c365
100644
(file)
--- a/
draw.c
+++ b/
draw.c
@@
-162,3
+162,9
@@
loadfont(Display *dpy, Fnt *font, const char *fontstr)
}
font->height = font->ascent + font->descent;
}
+
+unsigned int
+labelheight(Fnt *font)
+{
+ return font->height + 4;
+}