diff options
author | Benno Fünfstück | 2017-12-26 16:23:24 +0100 |
---|---|---|
committer | Hiltjo Posthuma | 2017-12-26 22:54:44 +0100 |
commit | fe1cbc357e05ba8d1ff9ec6b0227dbb3eb7108fd (patch) | |
tree | 711514c559b1aa7b7055f19de9e9da3a6dac0fe3 | |
parent | 8dd38a1589db35c521ce5fd2fdef98ad3a448d3c (diff) | |
download | aur-fe1cbc357e05ba8d1ff9ec6b0227dbb3eb7108fd.tar.gz |
Fix color with FAINT attribute
The alpha value needs to be initialized as well.
-rw-r--r-- | x.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |