From 26e5c6ac7a47df76e7dde71611c93142d643232b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 9 Apr 1996 03:01:40 +0000 Subject: (Fset_frame_size): Do call Fset_frame_size if size is specified and there is a pending size change already. --- src/frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frame.c b/src/frame.c index 707a0d26a55..846c142248e 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1955,7 +1955,8 @@ DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0, #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 -- cgit v1.2.1