diff options
| author | Po Lu | 2022-01-31 12:58:11 +0800 |
|---|---|---|
| committer | Po Lu | 2022-01-31 12:58:11 +0800 |
| commit | ae8332b83093d7a3f879d87599e207d3dc215f88 (patch) | |
| tree | 6aa9e5d0cbbebb424c2d87320f3820783e30cdb9 /src | |
| parent | 04f9c3b8df6afaf1e9de9f2a4478f63fd959bf09 (diff) | |
| download | emacs-ae8332b83093d7a3f879d87599e207d3dc215f88.tar.gz emacs-ae8332b83093d7a3f879d87599e207d3dc215f88.zip | |
* src/xterm.c (x_xrender_color_from_gc_foreground): Fix omission error.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, | |||
| 16365 | xc.pixel = xgcv.foreground; | 16365 | xc.pixel = xgcv.foreground; |
| 16366 | x_query_colors (f, &xc, 1); | 16366 | x_query_colors (f, &xc, 1); |
| 16367 | 16367 | ||
| 16368 | color->alpha = (apply_alpha_background | ||
| 16369 | ? 65535 * f->alpha_background | ||
| 16370 | : 65535); | ||
| 16371 | |||
| 16368 | if (color->alpha == 65535) | 16372 | if (color->alpha == 65535) |
| 16369 | { | 16373 | { |
| 16370 | color->red = xc.red; | 16374 | color->red = xc.red; |