# HG changeset patch # User Kim F. Storm # Date 1161251363 0 # Node ID 0171e23e0786700ff4e6ef45ac81cfbe1902ba08 # Parent 0fd4fe66f00dfecc57009fc08a8238011b9521db 2006-10-19 YAMAMOTO Mitsuharu (display_mode_line): Clear enabled_p flag on mode-line row. diff -r 0fd4fe66f00d -r 0171e23e0786 src/xdisp.c --- a/src/xdisp.c Thu Oct 19 09:48:55 2006 +0000 +++ b/src/xdisp.c Thu Oct 19 09:49:23 2006 +0000 @@ -16591,6 +16591,9 @@ 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;