aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a2a6a81d4ec..ce27af2e67b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13388,6 +13388,8 @@ redisplay_internal (void)
13388 13388
13389 inhibit_free_realized_faces = false; 13389 inhibit_free_realized_faces = false;
13390 13390
13391 consider_some_frames_p = false;
13392
13391 /* If face_change, init_iterator will free all realized faces, which 13393 /* If face_change, init_iterator will free all realized faces, which
13392 includes the faces referenced from current matrices. So, we 13394 includes the faces referenced from current matrices. So, we
13393 can't reuse current matrices in this case. */ 13395 can't reuse current matrices in this case. */
@@ -13762,7 +13764,9 @@ redisplay_internal (void)
13762 { 13764 {
13763 FOR_EACH_FRAME (tail, frame) 13765 FOR_EACH_FRAME (tail, frame)
13764 { 13766 {
13765 if (XFRAME (frame)->redisplay && XFRAME (frame) != sf) 13767 if (XFRAME (frame)->redisplay
13768 && XFRAME (frame) != sf
13769 && !FRAME_INITIAL_P (XFRAME (frame)))
13766 { 13770 {
13767 consider_some_frames_p = true; 13771 consider_some_frames_p = true;
13768 break; 13772 break;