]> git.eshelyaron.com Git - emacs.git/commitdiff
(change_frame_size, remake_frame_glyphs): Use FRAME_WINDOW_P.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:13:26 +0000 (21:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:13:26 +0000 (21:13 +0000)
src/dispnew.c

index 9e9c0ad625df73b627d90ff3deda58a888905c83..c227e1ad16e8a15e26b590159527251159dc743e 100644 (file)
@@ -400,8 +400,7 @@ remake_frame_glyphs (frame)
   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);
 }
 \f
@@ -2105,12 +2104,12 @@ change_frame_size (f, newheight, newwidth, pretend, delay)
      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);
     }