aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-04-09 03:01:02 +0000
committerRichard M. Stallman1996-04-09 03:01:02 +0000
commitd6f80ae9a03ff7dbd52d63462d443da17d5f1352 (patch)
treebecf50c710d4808b5008054b0ece3d2d2422fcd9
parentccddf4746cc31ebf96b222bf5bb1643c6fa1bda5 (diff)
downloademacs-d6f80ae9a03ff7dbd52d63462d443da17d5f1352.tar.gz
emacs-d6f80ae9a03ff7dbd52d63462d443da17d5f1352.zip
(x_set_frame_parameters): Do call Fset_frame_size
if size is specified and there is a pending size change already.
-rw-r--r--src/xfns.c3
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)
851 XSETFRAME (frame, f); 851 XSETFRAME (frame, f);
852 852
853 if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f)) 853 if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f))
854 || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))) 854 || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))
855 || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f))
855 Fset_frame_size (frame, width, height); 856 Fset_frame_size (frame, width, height);
856 857
857 if ((!NILP (left) || !NILP (top)) 858 if ((!NILP (left) || !NILP (top))