From 6961e0c1c8e194c1403cbb6c64eec7a56f4d19d8 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 6 Mar 2001 13:50:09 +0000 Subject: [PATCH] (redisplay_internal): Set windows_or_buffers_changed if face_change_count is non-zero. --- src/xdisp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 3da744c9c73..68dd53cfd9b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -8032,6 +8032,12 @@ redisplay_internal (preserve_echo_area) fonts_changed_p = 0; } + /* If face_change_count is non-zero, init_iterator will free all + realized faces, which includes the faces referenced from current + matrices. So, we can't reuse current matrices in this case. */ + if (face_change_count) + ++windows_or_buffers_changed; + if (! FRAME_WINDOW_P (sf) && previous_terminal_frame != sf) { -- 2.39.5