X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=draw.c;h=b89c36512b9c5e475e5ad0f0f95021a56a6a0727;hp=cf7f14e202c91c5d440ea53f3852be56a8147280;hb=439e15d09f6fa9271d3b49ef97194f0c80ebe161;hpb=2de59d0f0927cec656fc4b9f6fc9ea178fb01c1e diff --git a/draw.c b/draw.c index cf7f14e..b89c365 100644 --- 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; +}