summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylormuffins@gmail.com>2020-07-07 01:11:00 +0000
committerJackson Taylor <jtaylor@classicalconversations.com>2022-02-07 10:19:29 -0500
commita5f1c694db28c9c8447f558e79a0de612eeae88a (patch)
tree5f86c5755d3b787583c3794ecf293cff25ad05d6
parente8a86b078783d854c8399d0730a5f838baa8cfd2 (diff)
Remove section in drw.c to allow color emojis
-rw-r--r--drw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drw.c b/drw.c
index 8f1059e9..8d04f390 100644
--- a/drw.c
+++ b/drw.c
@@ -140,11 +140,11 @@ xfont_create(Drw *drw, const char *fontname, FcPattern *fontpattern)
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916349
* and lots more all over the internet.
*/
- FcBool iscol;
- if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) {
- XftFontClose(drw->dpy, xfont);
- return NULL;
- }
+ /* FcBool iscol; */
+ /* if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) { */
+ /* XftFontClose(drw->dpy, xfont); */
+ /* return NULL; */
+ /* } */
font = ecalloc(1, sizeof(Fnt));
font->xfont = xfont;