From: Gerd Moellmann Date: Sat, 21 Aug 1999 19:30:35 +0000 (+0000) Subject: Call change_frame_size and do_pending_window_change with X-Git-Tag: emacs-pretest-21.0.90~7085 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2b6538062cc74db6e18f6dce36721b93d3d32924;p=emacs.git Call change_frame_size and do_pending_window_change with new parameter. --- diff --git a/src/process.c b/src/process.c index b4eaa9ca28f..d3f54fd5e0a 100644 --- a/src/process.c +++ b/src/process.c @@ -2581,7 +2581,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) 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 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) /* 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 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) 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. */ diff --git a/src/widget.c b/src/widget.c index 447fc260e00..2ab11fa1a5f 100644 --- a/src/widget.c +++ b/src/widget.c @@ -448,7 +448,7 @@ set_frame_size (ew) 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 @@ EmacsFrameResize (widget) 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 @@ EmacsFrameSetValues (cur_widget, req_widget, new_widget, dum1, dum2) 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; } diff --git a/src/window.c b/src/window.c index c18566dd841..b2f2bc08a69 100644 --- a/src/window.c +++ b/src/window.c @@ -4092,7 +4092,7 @@ the return value is nil. Otherwise the value is t.") 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 @@ the return value is nil. Otherwise the value is t.") 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),