aboutsummaryrefslogtreecommitdiff
path: root/drw.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-22 21:33:03 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-22 21:33:03 +0530
commit96be12b185d8ecc294b02afa1622521968f37c16 (patch)
tree07ba098ac89dd12745e0118a244bf38efee9315b /drw.h
parentd6b26ca37d23b233eb288205a2b6808741f4b00e (diff)
parent061e9fe9a7db396c0c4f3d996c3908fb43a6d50c (diff)
downloaddwm-96be12b185d8ecc294b02afa1622521968f37c16.tar.gz
dwm-96be12b185d8ecc294b02afa1622521968f37c16.tar.bz2
dwm-96be12b185d8ecc294b02afa1622521968f37c16.zip
Merge upstream release '6.5'
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drw.h b/drw.h
index 4bcd5ad..6471431 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 */