]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_scroll_pixel_based): Adjust glyph matrices
authorGerd Moellmann <gerd@gnu.org>
Mon, 8 Jan 2001 14:37:40 +0000 (14:37 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 8 Jan 2001 14:37:40 +0000 (14:37 +0000)
when increasing window's vscroll.

src/window.c

index 16455f592200a95b7204b177b8d3c0391095bc1b..87b2c59ddb2fbbba7a1d2b38f4bab9a0b6cddd03 100644 (file)
@@ -3995,10 +3995,13 @@ window_scroll_pixel_based (window, n, whole, noerror)
        {
          if (it.current_y + it.max_ascent + it.max_descent
              > it.last_visible_y)
-           /* The last line was only partially visible, make it fully
-              visible.  */
-           w->vscroll = (it.last_visible_y
-                         - it.current_y + it.max_ascent + it.max_descent);
+           {
+             /* The last line was only partially visible, make it fully
+                visible.  */
+             w->vscroll = (it.last_visible_y
+                           - it.current_y + it.max_ascent + it.max_descent);
+             adjust_glyphs (it.f);
+           }
          else if (noerror)
            return;
          else