# HG changeset patch # User Richard M. Stallman # Date 834441206 0 # Node ID b584c2db055fec28682e9b7969ccbeda01f82ec0 # Parent 8d01f71c47974681296879e3bae7ceea5eb2e1c8 (change_frame_size, remake_frame_glyphs): Use FRAME_WINDOW_P. diff -r 8d01f71c4797 -r b584c2db055f src/dispnew.c --- a/src/dispnew.c Mon Jun 10 21:11:02 1996 +0000 +++ b/src/dispnew.c Mon Jun 10 21:13:26 1996 +0000 @@ -400,8 +400,7 @@ FRAME_CURRENT_GLYPHS (frame) = make_frame_glyphs (frame, 0); FRAME_DESIRED_GLYPHS (frame) = make_frame_glyphs (frame, 0); FRAME_TEMP_GLYPHS (frame) = make_frame_glyphs (frame, 1); - if (! FRAME_TERMCAP_P (frame) && ! FRAME_MSDOS_P (frame) - || frame == selected_frame) + if (FRAME_WINDOW_P (frame) || frame == selected_frame) SET_FRAME_GARBAGED (frame); } @@ -2105,12 +2104,12 @@ int newheight, newwidth, pretend; { Lisp_Object tail, frame; - if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) + if (! FRAME_WINDOW_P (f)) { /* When using termcap, or on MS-DOS, all frames use the same screen, so a change in size affects all frames. */ FOR_EACH_FRAME (tail, frame) - if (FRAME_TERMCAP_P (XFRAME (frame)) || FRAME_MSDOS_P (XFRAME (frame))) + if (! FRAME_WINDOW_P (XFRAME (frame))) change_frame_size_1 (XFRAME (frame), newheight, newwidth, pretend, delay); }