emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 acf4763417e: Fix mouse highlight with some fonts in Cairo build


From: Eli Zaretskii
Subject: emacs-29 acf4763417e: Fix mouse highlight with some fonts in Cairo builds
Date: Fri, 12 May 2023 15:20:49 -0400 (EDT)

branch: emacs-29
commit acf4763417eaf7cc42e0a63a05673f89900320bf
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]