diff options
| -rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 192bf010136..29d49d57dfd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -15680,9 +15680,11 @@ redisplay_internal (void) | |||
| 15680 | /* On some platforms (at least MS-Windows), the | 15680 | /* On some platforms (at least MS-Windows), the |
| 15681 | scroll_run_hook called from scrolling_window | 15681 | scroll_run_hook called from scrolling_window |
| 15682 | called from update_frame could set the frame's | 15682 | called from update_frame could set the frame's |
| 15683 | garbaged flag, in which case we need to | 15683 | garbaged flag, in which case we need to redisplay |
| 15684 | redisplay the frame. */ | 15684 | the frame. Don't do that on TTY frames, since we |
| 15685 | if (FRAME_GARBAGED_P (f)) | 15685 | need to keep the garbaged flag in that case when |
| 15686 | the frame has been resized. */ | ||
| 15687 | if (FRAME_WINDOW_P (f) && FRAME_GARBAGED_P (f)) | ||
| 15686 | { | 15688 | { |
| 15687 | fset_redisplay (f); | 15689 | fset_redisplay (f); |
| 15688 | f->garbaged = false; | 15690 | f->garbaged = false; |