Commit 2b653806 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

Call change_frame_size and do_pending_window_change with

new parameter.
parent 0788646c
......@@ -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. */
......
......@@ -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;
}
......
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment