summaryrefslogtreecommitdiff
path: root/dmenu-5.0
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu-5.0')
-rw-r--r--dmenu-5.0/drw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/dmenu-5.0/drw.c b/dmenu-5.0/drw.c
index 4cdbcbe..e9c408d 100644
--- a/dmenu-5.0/drw.c
+++ b/dmenu-5.0/drw.c
@@ -140,11 +140,6 @@ 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;
- }
font = ecalloc(1, sizeof(Fnt));
font->xfont = xfont;