changeset 25356:5db69f7aadca

Call change_frame_size and do_pending_window_change with new parameter.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 21 Aug 1999 19:30:35 +0000
parents e25e953cfc58
children 3a25e881065f
files src/process.c src/widget.c src/window.c
diffstat 3 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sat Aug 21 19:30:21 1999 +0000
+++ b/src/process.c	Sat Aug 21 19:30:35 1999 +0000
@@ -2581,7 +2581,7 @@
       clear_waiting_for_input ();
 
       /*  If we woke up due to SIGWINCH, actually change size now.  */
-      do_pending_window_change ();
+      do_pending_window_change (0);
 
       if (time_limit && nfds == 0 && ! timeout_reduced_for_timers)
 	/* We wanted the full specified time, so return now.  */
@@ -2705,7 +2705,7 @@
       /* If checking input just got us a size-change event from X,
 	 obey it now if we should.  */
       if (XINT (read_kbd) || wait_for_cell)
-	do_pending_window_change ();
+	do_pending_window_change (0);
 
       /* Check for data from a process.  */
       /* Really FIRST_PROC_DESC should be 0 on Unix,
@@ -4881,7 +4881,7 @@
       clear_waiting_for_input ();
 
       /*  If we woke up due to SIGWINCH, actually change size now.  */
-      do_pending_window_change ();
+      do_pending_window_change (0);
 
       if (time_limit && nfds == 0 && ! timeout_reduced_for_timers)
 	/* We waited the full specified time, so return now.  */
--- a/src/widget.c	Sat Aug 21 19:30:21 1999 +0000
+++ b/src/widget.c	Sat Aug 21 19:30:35 1999 +0000
@@ -448,7 +448,7 @@
     frame->output_data.x->flags_areas_extra
       = 2 * FRAME_FLAGS_AREA_WIDTH (frame);
 
-    change_frame_size (frame, h, w, 1, 0);
+    change_frame_size (frame, h, w, 1, 0, 0);
     char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height);
     ew->core.width = pixel_width;
     ew->core.height = pixel_height;
@@ -783,7 +783,7 @@
   int rows;
 
   pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows);
-  change_frame_size (f, rows, columns, 0, 1);
+  change_frame_size (f, rows, columns, 0, 1, 0);
   update_wm_hints (ew); 
   update_various_frame_slots (ew);
 
@@ -841,7 +841,7 @@
       new->core.height = pixel_height;
 
       change_frame_size (new->emacs_frame.frame, char_height, char_width,
-			  1, 0);
+			  1, 0, 0);
       needs_a_refresh = True;
     }
 
--- a/src/window.c	Sat Aug 21 19:30:21 1999 +0000
+++ b/src/window.c	Sat Aug 21 19:30:35 1999 +0000
@@ -4092,7 +4092,7 @@
       if (XFASTINT (data->frame_height) != previous_frame_height
 	  || XFASTINT (data->frame_width) != previous_frame_width)
 	change_frame_size (f, XFASTINT (data->frame_height),
-			   XFASTINT (data->frame_width), 0, 0);
+			   XFASTINT (data->frame_width), 0, 0, 0);
 #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS)
       if (XFASTINT (data->frame_menu_bar_lines)
 	  != previous_frame_menu_bar_lines)
@@ -4259,7 +4259,7 @@
       if (previous_frame_height != FRAME_HEIGHT (f)
 	  || previous_frame_width != FRAME_WIDTH (f))
 	change_frame_size (f, previous_frame_height, previous_frame_width,
-			   0, 0);
+			   0, 0, 0);
 #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS)
       if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f))
 	x_set_menu_bar_lines (f, make_number (previous_frame_menu_bar_lines),