From acf4763417eaf7cc42e0a63a05673f89900320bf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 12 May 2023 22:19:35 +0300 Subject: [PATCH] Fix mouse highlight with some fonts in Cairo builds * src/ftcrfont.c (ftcrfont_draw): Don't set the 'background_filled_p' flag of the glyph string. (Bug#63271) --- src/ftcrfont.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ftcrfont.c b/src/ftcrfont.c index c9a4de8137b..49564692b75 100644 --- a/src/ftcrfont.c +++ b/src/ftcrfont.c @@ -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); -- 2.39.2