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

(set_frame_size): Don't call change_frame_size.

parent fd524c21
......@@ -436,7 +436,11 @@ set_frame_size (ew)
x_compute_fringe_widths (frame, 0);
#if 0 /* This can run Lisp code, and it is dangerous to give
out the frame to Lisp code before it officially exists.
This is handled in Fx_create_frame so not needed here. */
change_frame_size (frame, h, w, 1, 0, 0);
char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height);
ew->core.width = pixel_width;
ew->core.height = pixel_height;
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