inhibit_free_realized_faces = false;
+ consider_some_frames_p = false;
+
/* If face_change, 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. */
{
FOR_EACH_FRAME (tail, frame)
{
- if (XFRAME (frame)->redisplay && XFRAME (frame) != sf)
+ if (XFRAME (frame)->redisplay
+ && XFRAME (frame) != sf
+ && !FRAME_INITIAL_P (XFRAME (frame)))
{
consider_some_frames_p = true;
break;