changeset 15395:b584c2db055f

(change_frame_size, remake_frame_glyphs): Use FRAME_WINDOW_P.
author Richard M. Stallman <rms@gnu.org>
date Mon, 10 Jun 1996 21:13:26 +0000
parents 8d01f71c4797
children fbecc317220d
files src/dispnew.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }