Commit d6f80ae9 authored by Richard M. Stallman's avatar Richard M. Stallman

(x_set_frame_parameters): Do call Fset_frame_size

if size is specified and there is a pending size change already.
parent ccddf474
...@@ -851,7 +851,8 @@ x_set_frame_parameters (f, alist) ...@@ -851,7 +851,8 @@ x_set_frame_parameters (f, alist)
XSETFRAME (frame, f); XSETFRAME (frame, f);
if ((NUMBERP (width) && XINT (width) != FRAME_WIDTH (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); Fset_frame_size (frame, width, height);
if ((!NILP (left) || !NILP (top)) if ((!NILP (left) || !NILP (top))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment