diff options
| author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2017-12-26 16:23:24 +0100 | 
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-12-26 22:54:44 +0100 | 
| commit | 1f24bde82b19912c080fbb4a0b153a248cd6c6ea (patch) | |
| tree | bf918186365e69adeb0d3bc804516d259a91d95d | |
| parent | e829e13bb1a830e0cdce749ea0865cd93af1846c (diff) | |
| download | st-transparency-1f24bde82b19912c080fbb4a0b153a248cd6c6ea.tar.gz st-transparency-1f24bde82b19912c080fbb4a0b153a248cd6c6ea.tar.xz st-transparency-1f24bde82b19912c080fbb4a0b153a248cd6c6ea.zip  | |
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;  	}  | 
