From time to time there are threads about the bug in dwm that make it crash
when it cannot render some glyphs in window titles (usually emoji).
Here is a way to reproduce the bug:
https://lists.suckless.org/dev/1608/30274.html
Here is an attempt to fix the bug that makes dwm freeze:
https://lists.suckless.org/dev/1802/32534.html
Attached is a patch that fixes the bug for me. With it applied the symbol
is simply not rendered (while other symbols are) and dwm continues to be
usable.
It fixes both the crash due to symbols in the window title and due to
symbols in the status bar (xsetroot -name).
I do not understand xlib and Xft enough to make a more clean fix, but
hopefully maintainers can improve it and apply to the mainline. Meanwhile,
dwm users can use this workaround.
Received on Thu Jul 19 2018 - 01:19:43 CEST