* src/xterm.c (x_xrender_color_from_gc_foreground): Fix omission error.

This commit is contained in:
Po Lu 2022-01-31 12:58:11 +08:00
parent 04f9c3b8df
commit ae8332b830

View file

@ -16365,6 +16365,10 @@ x_xrender_color_from_gc_foreground (struct frame *f, GC gc, XRenderColor *color,
xc.pixel = xgcv.foreground;
x_query_colors (f, &xc, 1);
color->alpha = (apply_alpha_background
? 65535 * f->alpha_background
: 65535);
if (color->alpha == 65535)
{
color->red = xc.red;