summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-05-12 22:19:35 +0300
committerEli Zaretskii <eliz@gnu.org>2023-05-12 22:19:35 +0300
commitacf4763417eaf7cc42e0a63a05673f89900320bf (patch)
tree6afea78ce2a2acac9e810421be71ae28646116e0
parent32b42b333caf490c0fdb159172d08c08af7bff7c (diff)
downloademacs-acf4763417eaf7cc42e0a63a05673f89900320bf.tar.gz
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)
-rw-r--r--src/ftcrfont.c1
1 files changed, 0 insertions, 1 deletions
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);