]> git.eshelyaron.com Git - emacs.git/commitdiff
(sync_frame_with_window_matrix_rows): Disable frame rows
authorGerd Moellmann <gerd@gnu.org>
Mon, 20 Sep 1999 13:02:31 +0000 (13:02 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 20 Sep 1999 13:02:31 +0000 (13:02 +0000)
whose corresponding window rows have been disabled in
try_window_id.

src/xdisp.c

index f603f4fccda0065ef04d83acb054d59b2a1c9ece..39fcb423a6ffb3126721dea0033ac0f0ec5d0bba 100644 (file)
@@ -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;
     }
 }