Mercurial > emacs
changeset 34279:7ab25b4a077c
(adjust_glyph_matrix): Don't reuse a window's current
matrix if the window's left position has changed; we need to
redraw it in this case.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 06 Dec 2000 15:46:27 +0000 |
parents | 323b8ec8dada |
children | 4a7a6cfe861d |
files | src/dispnew.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Wed Dec 06 15:19:50 2000 +0000 +++ b/src/dispnew.c Wed Dec 06 15:46:27 2000 +0000 @@ -550,6 +550,7 @@ if (!marginal_areas_changed_p && !fonts_changed_p && !header_line_changed_p + && matrix->window_left_x == XFASTINT (w->left) && matrix->window_top_y == XFASTINT (w->top) && matrix->window_height == window_height && matrix->window_vscroll == w->vscroll @@ -686,6 +687,7 @@ upper window). Invalidate all rows that are no longer part of the window. */ if (!marginal_areas_changed_p + && matrix->window_left_x == XFASTINT (w->left) && matrix->window_top_y == XFASTINT (w->top) && matrix->window_width == window_box_width (w, -1)) { @@ -721,6 +723,7 @@ was last adjusted. This is used to optimize redisplay above. */ if (w) { + matrix->window_left_x = XFASTINT (w->left); matrix->window_top_y = XFASTINT (w->top); matrix->window_height = window_height; matrix->window_width = window_width;