commit 1f24bde82b19912c080fbb4a0b153a248cd6c6ea
Author: Benno Fünfstück <benno.fuenfstueck_AT_gmail.com>
AuthorDate: Tue Dec 26 16:23:24 2017 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Tue Dec 26 22:54:44 2017 +0100
Fix color with FAINT attribute
The alpha value needs to be initialized as well.
diff --git a/x.c b/x.c
index 474d73b..c484dfc 100644
--- a/x.c
+++ b/x.c
_AT_@ -1193,6 +1193,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
colfg.red = fg->color.red / 2;
colfg.green = fg->color.green / 2;
colfg.blue = fg->color.blue / 2;
+ colfg.alpha = fg->color.alpha;
XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &colfg, &revfg);
fg = &revfg;
}
Received on Tue Dec 26 2017 - 22:55:58 CET
This archive was generated by hypermail 2.3.0
: Tue Dec 26 2017 - 23:00:34 CET