dwm

Fork of suckless' dwm with my personal patches
git clone https://git.instinctive.eu/dwm.git
Log | Files | Refs | README | LICENSE

commit 5fd6363b3da21d80bbcf1b55f19da7f40b3eea6d
parent 73dc5337f1fa4231e1d34ba1b168e357961c38d9
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Sat, 20 May 2023 17:38:33 +0200

[patch] dwm-unicode_ellipsis-20222909-d3f93c7.diff

Diffstat:
Mdrw.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drw.c b/drw.c @@ -272,7 +272,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp usedfont = drw->fonts; if (!ellipsis_width && render) - ellipsis_width = drw_fontset_getwidth(drw, "..."); + ellipsis_width = drw_fontset_getwidth(drw, "…"); while (1) { ew = ellipsis_len = utf8strlen = 0; utf8str = text; @@ -326,7 +326,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp w -= ew; } if (render && overflow) - drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, "...", invert); + drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, "…", invert); if (!*text || overflow) { break;