summaryrefslogtreecommitdiffhomepage
path: root/patches.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2019-10-11 19:43:02 +0200
committerbakkeby <[email protected]>2019-10-11 19:43:02 +0200
commit251b933b19fe8cd66a9d91082a61ef6c0fd4d3c7 (patch)
treee392d28f4ae65d4674d4e8cd6f08bdd4b9b138b8 /patches.h
parent063fe260893492e81fa983a33f0716a2f1dce5e6 (diff)
downloaddwm-flexipatch-251b933b19fe8cd66a9d91082a61ef6c0fd4d3c7.tar.gz
dwm-flexipatch-251b933b19fe8cd66a9d91082a61ef6c0fd4d3c7.zip
Adding interim patch to ignore xft errors when drawing text on the status bar
Diffstat (limited to 'patches.h')
-rw-r--r--patches.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/patches.h b/patches.h
index a87e293..81f37ef 100644
--- a/patches.h
+++ b/patches.h
@@ -199,6 +199,13 @@
*/
#define HOLDBAR_PATCH 0
+/* Sometimes dwm crashes when it cannot render some glyphs in window titles (usually emoji).
+ * This patch is essentially a hack to ignore any errors when drawing text on the status bar.
+ * https://groups.google.com/forum/m/#!topic/wmii/7bncCahYIww
+ * https://docs.google.com/viewer?a=v&pid=forums&srcid=MDAwODA2MTg0MDQyMjE0OTgzMzMBMDQ3ODQzODkyMTU3NTAyMTMxNTYBX2RUMVNtOUtDQUFKATAuMQEBdjI&authuser=0
+ */
+#define IGNORE_XFT_ERRORS_WHEN_DRAWING_TEXT_PATCH 0
+
/* This patch adds a keybinding to kills all visible clients that are not selected.
* https://dwm.suckless.org/patches/killunsel/
*/