aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-22 04:33:26 +0000
committerRichard M. Stallman <[email protected]>1993-11-22 04:33:26 +0000
commit1f11a5cab282e94439e4e5a7a2e9a17b19af5573 (patch)
treea075a6b413139a1f35f52b9994cea463b7165a24
parent3a6b074b35120e32e5c6f7295bcf032e8b7f1563 (diff)
(x_set_frame_parameters): Call check_frame_size
before Fset_frame_size and Fset_frame_position.
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index d5dbc81025..249f89ba75 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -419,6 +419,8 @@ x_set_frame_parameters (f, alist)
{
Lisp_Object frame;
+ check_frame_size (f, &height, &width);
+
XSET (frame, Lisp_Frame, f);
if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f))