Fix a segfault due to failure to realize some faces
commit8275687bb908174b84021ee15ecd959733cecb9d
authorEli Zaretskii <eliz@gnu.org>
Sat, 25 Mar 2017 13:59:17 +0000 (25 16:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Mar 2017 13:59:17 +0000 (25 16:59 +0300)
treef0bdb2faaf132b6ad764fcd306164f9ca681cd3b
parent1531c3c9f2844ba992f02ec62cc57f782d073c65
Fix a segfault due to failure to realize some faces

* src/xdisp.c (redisplay_internal): If the frame becomes garbaged
while redisplaying its windows, redisplay all of its windows
again.  (Bug#26097)
(init_iterator): When freeing all realized faces on all frames,
reset the 'face_change' flag of the frame whose window we are
about to iterate.
src/xdisp.c