changeset 44263:13c043393136

(set_frame_size): Don't call change_frame_size.
author Richard M. Stallman <rms@gnu.org>
date Sat, 30 Mar 2002 23:48:04 +0000
parents e05f4496fa33
children 6bcf9f9c10df
files src/widget.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Sat Mar 30 11:55:37 2002 +0000
+++ b/src/widget.c	Sat Mar 30 23:48:04 2002 +0000
@@ -436,7 +436,11 @@
 
     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);
+#endif
     char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height);
     ew->core.width = pixel_width;
     ew->core.height = pixel_height;