From: YAMAMOTO Mitsuharu Date: Wed, 1 Jun 2011 01:36:38 +0000 (+0900) Subject: * fringe.c (update_window_fringes): Don't update overlay arrow bitmap in the current... X-Git-Tag: emacs-pretest-24.0.90~104^3~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14eca62f5c52fd5c6f362121d86046cdb65ade9b;p=emacs.git * fringe.c (update_window_fringes): Don't update overlay arrow bitmap in the current matrix if keep_current_p is non-zero. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3f53eabb5d1..cd98ec04aa4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-06-01 YAMAMOTO Mitsuharu + + * fringe.c (update_window_fringes): Don't update overlay arrow bitmap + in the current matrix if keep_current_p is non-zero. + 2011-05-25 YAMAMOTO Mitsuharu * dispextern.h (struct glyph_row): New member fringe_bitmap_periodic_p. diff --git a/src/fringe.c b/src/fringe.c index e160353914e..bd178846c62 100644 --- a/src/fringe.c +++ b/src/fringe.c @@ -1309,8 +1309,12 @@ update_window_fringes (w, keep_current_p) if (row->overlay_arrow_bitmap != cur->overlay_arrow_bitmap) { - redraw_p = row->redraw_fringe_bitmaps_p = cur->redraw_fringe_bitmaps_p = 1; - cur->overlay_arrow_bitmap = row->overlay_arrow_bitmap; + redraw_p = row->redraw_fringe_bitmaps_p = 1; + if (!keep_current_p) + { + cur->redraw_fringe_bitmaps_p = 1; + cur->overlay_arrow_bitmap = row->overlay_arrow_bitmap; + } } row->left_fringe_bitmap = left;