changeset 14965:685888f786d3

(x_set_frame_parameters): Do call Fset_frame_size if size is specified and there is a pending size change already.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Apr 1996 03:01:02 +0000
parents 9938201005a3
children a8d71d222bb7
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Tue Apr 09 02:41:15 1996 +0000
+++ b/src/xfns.c	Tue Apr 09 03:01:02 1996 +0000
@@ -851,7 +851,8 @@
     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))