aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-08-22 12:00:17 +0000
committerGerd Moellmann1999-08-22 12:00:17 +0000
commit8938a4fbb4835e13f867fc249595e615cb7bc610 (patch)
treeda697f5e6312b872a25735406a200027a5869c3c /src
parentdd2eb166997de35da87342fedea363fdf277660c (diff)
downloademacs-8938a4fbb4835e13f867fc249595e615cb7bc610.tar.gz
emacs-8938a4fbb4835e13f867fc249595e615cb7bc610.zip
Call change_frame_size and do_pending_window_change with
new parameter.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 5bbf81dbff6..ea1913e47fa 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1779,7 +1779,7 @@ x_set_font (f, arg, oldval)
1779 else 1779 else
1780 abort (); 1780 abort ();
1781 1781
1782 do_pending_window_change (); 1782 do_pending_window_change (0);
1783 1783
1784 /* Don't call `face-set-after-frame-default' when faces haven't been 1784 /* Don't call `face-set-after-frame-default' when faces haven't been
1785 initialized yet. This is the case when called from 1785 initialized yet. This is the case when called from
@@ -1833,7 +1833,7 @@ x_set_internal_border_width (f, arg, oldval)
1833 { 1833 {
1834 x_set_window_size (f, 0, f->width, f->height); 1834 x_set_window_size (f, 0, f->width, f->height);
1835 SET_FRAME_GARBAGED (f); 1835 SET_FRAME_GARBAGED (f);
1836 do_pending_window_change (); 1836 do_pending_window_change (0);
1837 } 1837 }
1838} 1838}
1839 1839
@@ -2251,7 +2251,7 @@ x_set_vertical_scroll_bars (f, arg, oldval)
2251 call x_set_window_size. */ 2251 call x_set_window_size. */
2252 if (FRAME_X_WINDOW (f)) 2252 if (FRAME_X_WINDOW (f))
2253 x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f)); 2253 x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f));
2254 do_pending_window_change (); 2254 do_pending_window_change (0);
2255 } 2255 }
2256} 2256}
2257 2257
@@ -2281,7 +2281,7 @@ x_set_scroll_bar_width (f, arg, oldval)
2281 2281
2282 if (FRAME_X_WINDOW (f)) 2282 if (FRAME_X_WINDOW (f))
2283 x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f)); 2283 x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f));
2284 do_pending_window_change (); 2284 do_pending_window_change (0);
2285 } 2285 }
2286 else if (INTEGERP (arg) && XINT (arg) > 0 2286 else if (INTEGERP (arg) && XINT (arg) > 0
2287 && XFASTINT (arg) != FRAME_SCROLL_BAR_PIXEL_WIDTH (f)) 2287 && XFASTINT (arg) != FRAME_SCROLL_BAR_PIXEL_WIDTH (f))
@@ -2295,7 +2295,7 @@ x_set_scroll_bar_width (f, arg, oldval)
2295 x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f)); 2295 x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f));
2296 } 2296 }
2297 2297
2298 change_frame_size (f, 0, FRAME_WIDTH (f), 0, 0); 2298 change_frame_size (f, 0, FRAME_WIDTH (f), 0, 0, 0);
2299 XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.hpos = 0; 2299 XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.hpos = 0;
2300 XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.x = 0; 2300 XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.x = 0;
2301} 2301}
@@ -3787,7 +3787,7 @@ This function is an internal primitive--use `make-frame' instead.")
3787 height = f->height; 3787 height = f->height;
3788 f->height = 0; 3788 f->height = 0;
3789 SET_FRAME_WIDTH (f, 0); 3789 SET_FRAME_WIDTH (f, 0);
3790 change_frame_size (f, height, width, 1, 0); 3790 change_frame_size (f, height, width, 1, 0, 0);
3791 3791
3792 /* Set up faces after all frame parameters are known. */ 3792 /* Set up faces after all frame parameters are known. */
3793 call1 (Qface_set_after_frame_default, frame); 3793 call1 (Qface_set_after_frame_default, frame);
@@ -9636,7 +9636,7 @@ x_create_tip_frame (dpyinfo, parms)
9636 height = f->height; 9636 height = f->height;
9637 f->height = 0; 9637 f->height = 0;
9638 SET_FRAME_WIDTH (f, 0); 9638 SET_FRAME_WIDTH (f, 0);
9639 change_frame_size (f, height, width, 1, 0); 9639 change_frame_size (f, height, width, 1, 0, 0);
9640 9640
9641 f->no_split = 1; 9641 f->no_split = 1;
9642 9642