changeset 25350:f964a1e5b29c

Call change_frame_size and do_pending_window_change with new parameter. Remove references to echo_area_glyphs and previous_echo_glyphs.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 21 Aug 1999 19:29:38 +0000
parents ee30c32ea191
children c7247eabc834
files src/frame.c
diffstat 1 files changed, 7 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Sat Aug 21 19:29:32 1999 +0000
+++ b/src/frame.c	Sat Aug 21 19:29:38 1999 +0000
@@ -571,7 +571,7 @@
 
   f = make_terminal_frame ();
   change_frame_size (f, FRAME_HEIGHT (selected_frame),
-		     FRAME_WIDTH (selected_frame), 0, 0);
+		     FRAME_WIDTH (selected_frame), 0, 0, 0);
   adjust_glyphs (f);
   calculate_costs (f);
   XSETFRAME (frame, f);
@@ -1194,12 +1194,6 @@
   Vframe_list = Fdelq (frame, Vframe_list);
   FRAME_SET_VISIBLE (f, 0);
 
-  if (echo_area_glyphs == FRAME_MESSAGE_BUF (f))
-    {
-      echo_area_glyphs = 0;
-      previous_echo_glyphs = 0;
-    }
-
   if (f->namebuf)
     xfree (f->namebuf);
   if (FRAME_INSERT_COST (f))
@@ -2201,11 +2195,11 @@
     {
       if (XINT (lines) != f->height)
 	x_set_window_size (f, 1, f->width, XINT (lines));
-      do_pending_window_change ();
+      do_pending_window_change (0);
     }
   else
 #endif
-    change_frame_size (f, XINT (lines), 0, !NILP (pretend), 0);
+    change_frame_size (f, XINT (lines), 0, !NILP (pretend), 0, 0);
   return Qnil;
 }
 
@@ -2232,11 +2226,11 @@
     {
       if (XINT (cols) != f->width)
 	x_set_window_size (f, 1, XINT (cols), f->height);
-      do_pending_window_change ();
+      do_pending_window_change (0);
     }
   else
 #endif
-    change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0);
+    change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0, 0);
   return Qnil;
 }
 
@@ -2260,11 +2254,11 @@
       if (XINT (rows) != f->height || XINT (cols) != f->width
 	  || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f))
 	x_set_window_size (f, 1, XINT (cols), XINT (rows));
-      do_pending_window_change ();
+      do_pending_window_change (0);
     }
   else
 #endif
-    change_frame_size (f, XINT (rows), XINT (cols), 0, 0);
+    change_frame_size (f, XINT (rows), XINT (cols), 0, 0, 0);
 
   return Qnil;
 }