mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 12:57:34 +00:00
(Fset_frame_height): Call do_pending_window_change.
(Fset_frame_width, Fset_frame_size): Likewise.
This commit is contained in:
parent
79e03a85f9
commit
b5dd21a8e6
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue