diff options
Diffstat (limited to '')
| -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 | } | ||
