aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1999-08-02 00:01:27 +0000
committerRichard M. Stallman1999-08-02 00:01:27 +0000
commitb5dd21a8e60eda49d3bf54a67da6c97e17ff57ef (patch)
tree497b027e78503b4a0959d848907c462baba4867b /src
parent79e03a85f998391ff990c79133a1b89798262cf1 (diff)
downloademacs-b5dd21a8e60eda49d3bf54a67da6c97e17ff57ef.tar.gz
emacs-b5dd21a8e60eda49d3bf54a67da6c97e17ff57ef.zip
(Fset_frame_height): Call do_pending_window_change.
(Fset_frame_width, Fset_frame_size): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index fa276cb38ef..831721201cc 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2189,6 +2189,7 @@ but that the idea of the actual height of the frame should not be changed.")
2189 { 2189 {
2190 if (XINT (lines) != f->height) 2190 if (XINT (lines) != f->height)
2191 x_set_window_size (f, 1, f->width, XINT (lines)); 2191 x_set_window_size (f, 1, f->width, XINT (lines));
2192 do_pending_window_change ();
2192 } 2193 }
2193 else 2194 else
2194#endif 2195#endif
@@ -2219,6 +2220,7 @@ but that the idea of the actual width of the frame should not be changed.")
2219 { 2220 {
2220 if (XINT (cols) != f->width) 2221 if (XINT (cols) != f->width)
2221 x_set_window_size (f, 1, XINT (cols), f->height); 2222 x_set_window_size (f, 1, XINT (cols), f->height);
2223 do_pending_window_change ();
2222 } 2224 }
2223 else 2225 else
2224#endif 2226#endif
@@ -2246,6 +2248,7 @@ DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0,
2246 if (XINT (rows) != f->height || XINT (cols) != f->width 2248 if (XINT (rows) != f->height || XINT (cols) != f->width
2247 || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f)) 2249 || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f))
2248 x_set_window_size (f, 1, XINT (cols), XINT (rows)); 2250 x_set_window_size (f, 1, XINT (cols), XINT (rows));
2251 do_pending_window_change ();
2249 } 2252 }
2250 else 2253 else
2251#endif 2254#endif