From: Kim F. Storm Date: Thu, 19 Oct 2006 09:49:23 +0000 (+0000) Subject: 2006-10-19 YAMAMOTO Mitsuharu X-Git-Tag: emacs-pretest-22.0.90~67 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4d2787c2db621248f1e8b1fb33a63c836fcae4d;p=emacs.git 2006-10-19 YAMAMOTO Mitsuharu (display_mode_line): Clear enabled_p flag on mode-line row. --- diff --git a/src/xdisp.c b/src/xdisp.c index 5c017ad70c2..875d12a4816 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -16591,6 +16591,9 @@ display_mode_line (w, face_id, format) int count = SPECPDL_INDEX (); init_iterator (&it, w, -1, -1, NULL, face_id); + /* Don't extend on a previously drawn mode-line. + This may happen if called from pos_visible_p. */ + it.glyph_row->enabled_p = 0; prepare_desired_row (it.glyph_row); it.glyph_row->mode_line_p = 1;