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 | renamed gridmenu.c into menu.c (diff) | |
| download | dwm-439e15d09f6fa9271d3b49ef97194f0c80ebe161.tar.gz dwm-439e15d09f6fa9271d3b49ef97194f0c80ebe161.zip | |
added several other stuff
Diffstat (limited to 'draw.c')
| -rw-r--r-- | draw.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -162,3 +162,9 @@ loadfont(Display *dpy, Fnt *font, const char *fontstr) | |||
| 162 | } | 162 | } |
| 163 | font->height = font->ascent + font->descent; | 163 | font->height = font->ascent + font->descent; |
| 164 | } | 164 | } |
| 165 | |||
| 166 | unsigned int | ||
| 167 | labelheight(Fnt *font) | ||
| 168 | { | ||
| 169 | return font->height + 4; | ||
| 170 | } | ||
