From 71ee27e1c743610139ae5bbce589c85703fd9888 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 25 Nov 2022 14:30:46 +0100 Subject: changed libXft library --- drw.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'drw.c') diff --git a/drw.c b/drw.c index 85fe42f..dc16902 100755 --- 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; -- cgit v1.2.3