diff options
-rw-r--r-- | x.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1544,7 +1544,11 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i XftDrawSetClipRectangles(xw.draw, winx, winy, &r, 1); /* Render the glyphs. */ - XftDrawGlyphFontSpec(xw.draw, fg, specs, len); + FcBool b = FcFalse; + FcPatternGetBool(specs->font->pattern, FC_COLOR, 0, &b); + if (!b) { + XftDrawGlyphFontSpec(xw.draw, fg, specs, len); + } /* Render underline and strikethrough. */ if (base.mode & ATTR_UNDERLINE) { |