aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget.c
diff options
context:
space:
mode:
authorGerd Moellmann1999-08-21 19:30:35 +0000
committerGerd Moellmann1999-08-21 19:30:35 +0000
commit2b6538062cc74db6e18f6dce36721b93d3d32924 (patch)
tree9eff08051a410f9e18106693f5d4aa52a1d7f86f /src/widget.c
parent0788646cc2f1b65a6aabf8a2a9b0fa3488e0f560 (diff)
downloademacs-2b6538062cc74db6e18f6dce36721b93d3d32924.tar.gz
emacs-2b6538062cc74db6e18f6dce36721b93d3d32924.zip
Call change_frame_size and do_pending_window_change with
new parameter.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c6
1 files changed, 3 insertions, 3 deletions
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)
448 frame->output_data.x->flags_areas_extra 448 frame->output_data.x->flags_areas_extra
449 = 2 * FRAME_FLAGS_AREA_WIDTH (frame); 449 = 2 * FRAME_FLAGS_AREA_WIDTH (frame);
450 450
451 change_frame_size (frame, h, w, 1, 0); 451 change_frame_size (frame, h, w, 1, 0, 0);
452 char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height); 452 char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height);
453 ew->core.width = pixel_width; 453 ew->core.width = pixel_width;
454 ew->core.height = pixel_height; 454 ew->core.height = pixel_height;
@@ -783,7 +783,7 @@ EmacsFrameResize (widget)
783 int rows; 783 int rows;
784 784
785 pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows); 785 pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows);
786 change_frame_size (f, rows, columns, 0, 1); 786 change_frame_size (f, rows, columns, 0, 1, 0);
787 update_wm_hints (ew); 787 update_wm_hints (ew);
788 update_various_frame_slots (ew); 788 update_various_frame_slots (ew);
789 789
@@ -841,7 +841,7 @@ EmacsFrameSetValues (cur_widget, req_widget, new_widget, dum1, dum2)
841 new->core.height = pixel_height; 841 new->core.height = pixel_height;
842 842
843 change_frame_size (new->emacs_frame.frame, char_height, char_width, 843 change_frame_size (new->emacs_frame.frame, char_height, char_width,
844 1, 0); 844 1, 0, 0);
845 needs_a_refresh = True; 845 needs_a_refresh = True;
846 } 846 }
847 847