From 3e780ab7e8f5a6358c89813e2d2e430b90fe8a66 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 21 Feb 2023 13:38:42 -0600 Subject: reset to vanilla dmenu-5.2 --- drw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drw.h') diff --git a/drw.h b/drw.h index 4c67419..fd7631b 100644 --- a/drw.h +++ b/drw.h @@ -35,6 +35,7 @@ void drw_free(Drw *drw); Fnt *drw_fontset_create(Drw* drw, const char *fonts[], size_t fontcount); void drw_fontset_free(Fnt* set); unsigned int drw_fontset_getwidth(Drw *drw, const char *text); +unsigned int drw_fontset_getwidth_clamp(Drw *drw, const char *text, unsigned int n); void drw_font_getexts(Fnt *font, const char *text, unsigned int len, unsigned int *w, unsigned int *h); /* Colorscheme abstraction */ -- cgit v1.2.3