]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix mouse highlight with some fonts in Cairo builds
authorEli Zaretskii <eliz@gnu.org>
Fri, 12 May 2023 19:19:35 +0000 (22:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 12 May 2023 19:19:35 +0000 (22:19 +0300)
* src/ftcrfont.c (ftcrfont_draw): Don't set the
'background_filled_p' flag of the glyph string.  (Bug#63271)

src/ftcrfont.c

index c9a4de8137b40f77f7e4fdadea6bdf979b7dd4fd..49564692b750f1033491552f59f08119699678a1 100644 (file)
@@ -590,7 +590,6 @@ ftcrfont_draw (struct glyph_string *s,
                            GREEN_FROM_ULONG (col) / 255.0,
                            BLUE_FROM_ULONG (col) / 255.0);
 #endif
-      s->background_filled_p = 1;
       cairo_rectangle (cr, x, y - FONT_BASE (s->font),
                       s->width, FONT_HEIGHT (s->font));
       cairo_fill (cr);