dwm

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

commit 9bc0f1be52af342e1a429ad52213432057f0d84a
parent 4f182253e38ab7015d0b4fa4924e820101a10bfc
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 @@ -282,7 +282,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, "…"); if (!invalid_width && render) invalid_width = drw_fontset_getwidth(drw, invalid); while (1) { @@ -344,7 +344,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp w -= invalid_width; } 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;