diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-09 03:01:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-09 03:01:40 +0000 |
commit | 26e5c6ac7a47df76e7dde71611c93142d643232b (patch) | |
tree | e35191871487f6addc947d28b4f1b50d5910fd0f /src/frame.c | |
parent | 860dfb6a8136e7b1c1d8014bae53574678fdef5e (diff) | |
download | emacs-26e5c6ac7a47df76e7dde71611c93142d643232b.tar.gz |
(Fset_frame_size): Do call Fset_frame_size
if size is specified and there is a pending size change already.
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index 707a0d26a55..846c142248e 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1955,7 +1955,8 @@ DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0, #ifdef HAVE_WINDOW_SYSTEM if (FRAME_WINDOW_P (f)) { - if (XINT (rows) != f->height || XINT (cols) != f->width) + 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)); } else |