changeset 26591:f7c7ef351f04

(direct_output_for_insert): Set glyph row's displays_text_p flag. Correct window's window_end_vpos if necessary.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 25 Nov 1999 10:14:15 +0000
parents 301daf47e723
children ed38c477b17e
files src/dispnew.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Thu Nov 25 05:33:31 1999 +0000
+++ b/src/dispnew.c	Thu Nov 25 10:14:15 1999 +0000
@@ -3181,6 +3181,10 @@
   glyph_row->contains_overlapping_glyphs_p
     |= it.glyph_row->contains_overlapping_glyphs_p;
 
+  glyph_row->displays_text_p = 1;
+  w->window_end_vpos = make_number (max (w->cursor.vpos,
+					 XFASTINT (w->window_end_vpos)));
+
   if (!NILP (Vshow_trailing_whitespace))
     highlight_trailing_whitespace (it.f, glyph_row);