changeset 14966:a8d71d222bb7

(Fset_frame_size): 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:40 +0000
parents 685888f786d3
children 5c431b2e0f95
files src/frame.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Tue Apr 09 03:01:02 1996 +0000
+++ b/src/frame.c	Tue Apr 09 03:01:40 1996 +0000
@@ -1955,7 +1955,8 @@
 #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