From: Matthias Kruk Date: Thu, 24 Dec 2020 00:08:43 +0000 (+0900) Subject: Don't draw window titles in the status bar X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=f2a3078ad1e0944f6bd9eeccb13183d5f09a834c;p=dwm Don't draw window titles in the status bar Certain UTF-8 glyphs cause issues with underlying libraries, causing dwm to crash. Websites such as Twitter will frequently include such glyphs in their title, causing dwm to try to render them in the status bar. This commit keeps dwm from displaying window titles in the status bar. --- diff --git a/dwm.c b/dwm.c index 56c01f5..cf29259 100755 --- a/dwm.c +++ b/dwm.c @@ -870,7 +870,7 @@ drawbar(Monitor *m) { dc.x = x; if(m->sel) { col = m == selmon ? dc.sel : dc.norm; - drawtext(m->sel->name, col, False); + /* drawtext(m->sel->name, col, False); */ drawsquare(m->sel->isfixed, m->sel->isfloating, False, col); } else