aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index 61d2a8b073f..b4fee61cac8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1464,9 +1464,7 @@ if it isn't already recorded. */)
1464#endif 1464#endif
1465 1465
1466 if (! NILP (update) 1466 if (! NILP (update)
1467 && ! (! NILP (w->window_end_valid) 1467 && (windows_or_buffers_changed || NILP (w->window_end_valid))
1468 && w->last_modified >= BUF_MODIFF (b)
1469 && w->last_overlay_modified >= BUF_OVERLAY_MODIFF (b))
1470 && !noninteractive) 1468 && !noninteractive)
1471 { 1469 {
1472 struct text_pos startp; 1470 struct text_pos startp;
@@ -3795,6 +3793,8 @@ resize_frame_windows (struct frame *f, int size, int horflag)
3795 (m, make_number (XINT (r->top_line) + XINT (r->total_lines))); 3793 (m, make_number (XINT (r->top_line) + XINT (r->total_lines)));
3796 } 3794 }
3797 } 3795 }
3796
3797 windows_or_buffers_changed++;
3798} 3798}
3799 3799
3800 3800
@@ -4208,6 +4208,7 @@ grow_mini_window (struct window *w, int delta)
4208 w->last_modified = 0; 4208 w->last_modified = 0;
4209 w->last_overlay_modified = 0; 4209 w->last_overlay_modified = 0;
4210 4210
4211 windows_or_buffers_changed++;
4211 adjust_glyphs (f); 4212 adjust_glyphs (f);
4212 unblock_input (); 4213 unblock_input ();
4213 } 4214 }
@@ -4245,6 +4246,7 @@ shrink_mini_window (struct window *w)
4245 w->last_modified = 0; 4246 w->last_modified = 0;
4246 w->last_overlay_modified = 0; 4247 w->last_overlay_modified = 0;
4247 4248
4249 windows_or_buffers_changed++;
4248 adjust_glyphs (f); 4250 adjust_glyphs (f);
4249 unblock_input (); 4251 unblock_input ();
4250 } 4252 }