From: Po Lu Date: Mon, 31 Jan 2022 04:58:11 +0000 (+0800) Subject: * src/xterm.c (x_xrender_color_from_gc_foreground): Fix omission error. X-Git-Tag: emacs-29.0.90~2638 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae8332b83093d7a3f879d87599e207d3dc215f88;p=emacs.git * src/xterm.c (x_xrender_color_from_gc_foreground): Fix omission error. --- diff --git a/src/xterm.c b/src/xterm.c index 80c0654e240..e7019a3a747 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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;