diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-09 03:01:02 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-09 03:01:02 +0000 |
commit | 860dfb6a8136e7b1c1d8014bae53574678fdef5e (patch) | |
tree | c63aa4316189f8cbfc82d017a962d67c9b4454b1 /src/xfns.c | |
parent | 4e3663ef87a6f93aa49c9ee1d24d98c8b142e92f (diff) | |
download | emacs-860dfb6a8136e7b1c1d8014bae53574678fdef5e.tar.gz |
(x_set_frame_parameters): Do call Fset_frame_size
if size is specified and there is a pending size change already.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 2f832cfed61..e3ad7cdad58 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -851,7 +851,8 @@ x_set_frame_parameters (f, alist) XSETFRAME (frame, f); if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f)) - || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))) + || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f)) + || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f)) Fset_frame_size (frame, width, height); if ((!NILP (left) || !NILP (top)) |