Commit b5dd21a8 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fset_frame_height): Call do_pending_window_change.

(Fset_frame_width, Fset_frame_size): Likewise.
parent 79e03a85
......@@ -2189,6 +2189,7 @@ but that the idea of the actual height of the frame should not be changed.")
{
if (XINT (lines) != f->height)
x_set_window_size (f, 1, f->width, XINT (lines));
do_pending_window_change ();
}
else
#endif
......@@ -2219,6 +2220,7 @@ but that the idea of the actual width of the frame should not be changed.")
{
if (XINT (cols) != f->width)
x_set_window_size (f, 1, XINT (cols), f->height);
do_pending_window_change ();
}
else
#endif
......@@ -2246,6 +2248,7 @@ DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0,
if (XINT (rows) != f->height || XINT (cols) != f->width
|| FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f))
x_set_window_size (f, 1, XINT (cols), XINT (rows));
do_pending_window_change ();
}
else
#endif
......
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