summaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-03-09 00:01:50 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-03-09 00:01:50 -0400
commite9c6480234329cdf7a74bf8bf2fd14d460e0000c (patch)
tree4f408249618e5ef57252c57a4d17cb6b32eb7453 /x.c
parent6ac9d2c715d262734db5425105834547acc72cd9 (diff)
Fixed Tex Format copy and begone rofi
Diffstat (limited to 'x.c')
-rw-r--r--x.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/x.c b/x.c
index cc7a8a4..c09392b 100644
--- a/x.c
+++ b/x.c
@@ -1544,11 +1544,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
XftDrawSetClipRectangles(xw.draw, winx, winy, &r, 1);
/* Render the glyphs. */
- FcBool b = FcFalse;
- FcPatternGetBool(specs->font->pattern, FC_COLOR, 0, &b);
- if (!b) {
- XftDrawGlyphFontSpec(xw.draw, fg, specs, len);
- }
+ XftDrawGlyphFontSpec(xw.draw, fg, specs, len);
/* Render underline and strikethrough. */
if (base.mode & ATTR_UNDERLINE) {