# HG changeset patch # User Gerd Moellmann # Date 985961240 0 # Node ID e293840c73321f754bc8d3a0bc7ab79f24f4bafa # Parent b095952a8678382b3e2cdc1d0e2509bfee044e8b (adjust_glyph_matrix): Don't try to reuse the current matrix of a window when the header line changes, when new rows are allocated, or when the width changes. diff -r b095952a8678 -r e293840c7332 src/dispnew.c --- a/src/dispnew.c Fri Mar 30 12:18:01 2001 +0000 +++ b/src/dispnew.c Fri Mar 30 14:07:20 2001 +0000 @@ -790,9 +790,12 @@ upper window). Invalidate all rows that are no longer part of the window. */ if (!marginal_areas_changed_p + && !header_line_changed_p + && new_rows == 0 + && dim.width == matrix->matrix_w && matrix->window_left_x == XFASTINT (w->left) && matrix->window_top_y == XFASTINT (w->top) - && matrix->window_width == window_box_width (w, -1)) + && matrix->window_width == window_width) { i = 0; while (matrix->rows[i].enabled_p