(x_set_frame_parameters): Do call Fset_frame_size
authorRichard M. Stallman <rms@gnu.org>
Tue, 9 Apr 1996 03:01:02 +0000 (03:01 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 9 Apr 1996 03:01:02 +0000 (03:01 +0000)
if size is specified and there is a pending size change already.

src/xfns.c

index 2f832cf..e3ad7cd 100644 (file)
@@ -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))