From: Jeff Walsh Date: Fri, 1 Oct 2021 14:28:19 +0000 (+1000) Subject: pgtk: Set correct face color for stretched glyphs X-Git-Tag: emacs-29.0.90~3664 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=11e4fd11bd6ef69e430a624910e990e9535c44d5;p=emacs.git pgtk: Set correct face color for stretched glyphs * src/pgtkterm.c (x_draw_stretch_glyph_string): s/foreground/background (Bug#50579) --- diff --git a/src/pgtkterm.c b/src/pgtkterm.c index d81517a5d8e..75386ee6c39 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c @@ -2391,7 +2391,7 @@ x_draw_stretch_glyph_string (struct glyph_string *s) color = s->xgcv.foreground; } else - color = s->face->foreground; + color = s->face->background; cairo_t *cr = pgtk_begin_cr_clip (s->f);