aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-04-09 03:01:40 +0000
committerRichard M. Stallman1996-04-09 03:01:40 +0000
commit29824ce2b28dee1d35702aeecf182319367ad688 (patch)
tree7aba5780e87ecbb9d806fee35d2c3664ef75cb57
parentd6f80ae9a03ff7dbd52d63462d443da17d5f1352 (diff)
downloademacs-29824ce2b28dee1d35702aeecf182319367ad688.tar.gz
emacs-29824ce2b28dee1d35702aeecf182319367ad688.zip
(Fset_frame_size): Do call Fset_frame_size
if size is specified and there is a pending size change already.
-rw-r--r--src/frame.c3
1 files changed, 2 insertions, 1 deletions
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,
1955#ifdef HAVE_WINDOW_SYSTEM 1955#ifdef HAVE_WINDOW_SYSTEM
1956 if (FRAME_WINDOW_P (f)) 1956 if (FRAME_WINDOW_P (f))
1957 { 1957 {
1958 if (XINT (rows) != f->height || XINT (cols) != f->width) 1958 if (XINT (rows) != f->height || XINT (cols) != f->width
1959 || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f))
1959 x_set_window_size (f, 1, XINT (cols), XINT (rows)); 1960 x_set_window_size (f, 1, XINT (cols), XINT (rows));
1960 } 1961 }
1961 else 1962 else