comparison src/xdisp.c @ 98507:148d58d1a607

(redisplay_internal): If frame switched, redisplay the whole thing on MSDOS frames as well as on a TTY.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 04 Oct 2008 15:24:05 +0000
parents 5db459c2e438
children 406d2fd94a7d
comparison
equal deleted inserted replaced
98506:87371e23a98f 98507:148d58d1a607
11392 realized faces, which includes the faces referenced from current 11392 realized faces, which includes the faces referenced from current
11393 matrices. So, we can't reuse current matrices in this case. */ 11393 matrices. So, we can't reuse current matrices in this case. */
11394 if (face_change_count) 11394 if (face_change_count)
11395 ++windows_or_buffers_changed; 11395 ++windows_or_buffers_changed;
11396 11396
11397 if (FRAME_TERMCAP_P (sf) 11397 if ((FRAME_TERMCAP_P (sf) || FRAME_MSDOS_P (sf))
11398 && FRAME_TTY (sf)->previous_frame != sf) 11398 && FRAME_TTY (sf)->previous_frame != sf)
11399 { 11399 {
11400 /* Since frames on a single ASCII terminal share the same 11400 /* Since frames on a single ASCII terminal share the same
11401 display area, displaying a different frame means redisplay 11401 display area, displaying a different frame means redisplay
11402 the whole thing. */ 11402 the whole thing. */