From: Gerd Moellmann Date: Mon, 20 Sep 1999 13:02:31 +0000 (+0000) Subject: (sync_frame_with_window_matrix_rows): Disable frame rows X-Git-Tag: emacs-pretest-21.0.90~6664 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f002db9312a021bbc74db5c50a1d76073847fa26;p=emacs.git (sync_frame_with_window_matrix_rows): Disable frame rows whose corresponding window rows have been disabled in try_window_id. --- diff --git a/src/xdisp.c b/src/xdisp.c index f603f4fccda..39fcb423a6f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -9713,8 +9713,15 @@ sync_frame_with_window_matrix_rows (w) while (window_row < window_row_end) { int area; + for (area = LEFT_MARGIN_AREA; area <= LAST_AREA; ++area) frame_row->glyphs[area] = window_row->glyphs[area]; + + /* Disable frame rows whose corresponding window rows have + been disabled in try_window_id. */ + if (!window_row->enabled_p) + frame_row->enabled_p = 0; + ++window_row, ++frame_row; } }