aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo2024-07-09 11:23:18 +0200
committerAndrea Corallo2024-07-09 11:23:18 +0200
commit3f0f0712da30f97a029e38b9506b66f177be562c (patch)
treeda5039b84b009a6b1ac72c0498ecacf36588f353 /src
parentd883f9a1f35c5daed877e4a96ecd7e31c259dc40 (diff)
parent671ad83026e0f9727a809311d43fd7a57403b33b (diff)
downloademacs-3f0f0712da30f97a029e38b9506b66f177be562c.tar.gz
emacs-3f0f0712da30f97a029e38b9506b66f177be562c.zip
Merge from savannah/emacs-30
671ad83026e Fix bug#70697 with respect to fringe bitmaps 15c591bad62 Fix byte-compiler warning in calc.el # Conflicts: # lisp/calc/calc.el
Diffstat (limited to 'src')
-rw-r--r--src/pgtkterm.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index 49b7ea406f8..839bfdce988 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -3594,20 +3594,7 @@ pgtk_draw_fringe_bitmap (struct window *w, struct glyph_row *row,
3594 pgtk_clip_to_row (w, row, ANY_AREA, cr); 3594 pgtk_clip_to_row (w, row, ANY_AREA, cr);
3595 3595
3596 if (p->bx >= 0 && !p->overlay_p) 3596 if (p->bx >= 0 && !p->overlay_p)
3597 { 3597 fill_background_by_face (f, face, p->bx, p->by, p->nx, p->ny);
3598 /* In case the same realized face is used for fringes and for
3599 something displayed in the text (e.g. face `region' on
3600 mono-displays, the fill style may have been changed to
3601 FillSolid in pgtk_draw_glyph_string_background. */
3602 if (face->stipple)
3603 fill_background_by_face (f, face, p->bx, p->by, p->nx, p->ny);
3604 else
3605 {
3606 pgtk_set_cr_source_with_color (f, face->background, true);
3607 cairo_rectangle (cr, p->bx, p->by, p->nx, p->ny);
3608 cairo_fill (cr);
3609 }
3610 }
3611 3598
3612 if (p->which 3599 if (p->which
3613 && p->which < max_fringe_bmp 3600 && p->which < max_fringe_bmp