diff options
| author | Richard M. Stallman | 1996-04-09 03:01:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-09 03:01:40 +0000 |
| commit | 29824ce2b28dee1d35702aeecf182319367ad688 (patch) | |
| tree | 7aba5780e87ecbb9d806fee35d2c3664ef75cb57 | |
| parent | d6f80ae9a03ff7dbd52d63462d443da17d5f1352 (diff) | |
| download | emacs-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.c | 3 |
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 |