summaryrefslogtreecommitdiffhomepage
path: root/patches.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2022-10-06 14:44:11 +0200
committerbakkeby <[email protected]>2022-10-06 14:44:11 +0200
commit4912e3129aa8e1e9bb5f56d20377102575aca2b7 (patch)
treec0a5dd16b0829882acda66e73e12f733617e2b82 /patches.def.h
parent1ac17a493705d150cb4b92ca7e33fb98b51de4c7 (diff)
downloaddwm-flexipatch-4912e3129aa8e1e9bb5f56d20377102575aca2b7.tar.gz
dwm-flexipatch-4912e3129aa8e1e9bb5f56d20377102575aca2b7.zip
Bump to 50ad171.
remove workaround for a crash with color emojis on some systems, now fixed in libXft 2.3.5 https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS bump version to 6.4 Ref. https://git.suckless.org/dwm/commit/970f37697358574e127019eb0ee2f5725ec05ce0.html https://git.suckless.org/dwm/commit/50ad171eea9db5ccb36fce2592e047c3282975ff.html Consequently the color emoji patch has been inverted into no color emoji, keeping the workaround in the code base for those that are on systems with older versions of the Xft library.
Diffstat (limited to 'patches.def.h')
-rw-r--r--patches.def.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/patches.def.h b/patches.def.h
index 784e324..deb6e3c 100644
--- a/patches.def.h
+++ b/patches.def.h
@@ -299,14 +299,6 @@
*/
#define BAR_CLIENTINDICATOR_PATCH N/A
-/* This patch enables color emoji in dwm by removing a workaround for a BadLength error
- * in the Xft library when color glyphs are used.
- * To enable this you will need an updated Xft library that can handle color glyphs otherwise
- * dwm will crash on encountering such characters. Note that you will also need a font that
- * provides color emojis for this to work.
- */
-#define BAR_COLOR_EMOJI_PATCH 0
-
/* Updates the position of dmenu to match that of the bar. I.e. if topbar is 0 then dmenu
* will appear at the bottom and if 1 then dmenu will appear at the top.
* https://dwm.suckless.org/patches/dmenumatchtop
@@ -359,6 +351,12 @@
*/
#define BAR_IGNORE_XFT_ERRORS_WHEN_DRAWING_TEXT_PATCH 0
+/* This patch adds back in the workaround for a BadLength error in the Xft library when color
+ * glyphs are used. This is for systems that do not have an updated version of the Xft library
+ * (or generally prefer monochrome fonts).
+ */
+#define BAR_NO_COLOR_EMOJI_PATCH 0
+
/* This patch adds vertical and horizontal space between the statusbar and the edge of the screen.
* https://dwm.suckless.org/patches/barpadding/
*/