From f002db9312a021bbc74db5c50a1d76073847fa26 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 20 Sep 1999 13:02:31 +0000 Subject: [PATCH] (sync_frame_with_window_matrix_rows): Disable frame rows whose corresponding window rows have been disabled in try_window_id. --- src/xdisp.c | 7 +++++++ 1 file changed, 7 insertions(+) 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; } } -- 2.39.5