summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xfns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 2f832cfed61..e3ad7cdad58 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -851,7 +851,8 @@ x_set_frame_parameters (f, alist)
XSETFRAME (frame, f);
if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (f))
- || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f)))
+ || (NUMBERP (height) && XINT (height) != FRAME_HEIGHT (f))
+ || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f))
Fset_frame_size (frame, width, height);
if ((!NILP (left) || !NILP (top))