diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-10 22:16:48 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-10 22:16:48 +0200 |
commit | 439e15d09f6fa9271d3b49ef97194f0c80ebe161 (patch) | |
tree | 0f1abd8629f3fc226bb313ce29f00b6b8424f375 /draw.c | |
parent | 2de59d0f0927cec656fc4b9f6fc9ea178fb01c1e (diff) | |
download | dwm-439e15d09f6fa9271d3b49ef97194f0c80ebe161.tar.gz |
added several other stuff
Diffstat (limited to 'draw.c')
-rw-r--r-- | draw.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; +} |