changeset 25150:1c02364724aa

(x_set_window_size): When calling change_frame_size, specify 1 for DELAY.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Aug 1999 00:00:14 +0000
parents ee483f870bde
children 6ad585efe29d
files src/xterm.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sun Aug 01 22:31:00 1999 +0000
+++ b/src/xterm.c	Mon Aug 02 00:00:14 1999 +0000
@@ -10712,10 +10712,13 @@
 
      We could just not bother storing any of this information here,
      and let the ConfigureNotify event set everything up, but that
-     might be kind of confusing to the lisp code, since size changes
+     might be kind of confusing to the Lisp code, since size changes
      wouldn't be reported in the frame parameters until some random
-     point in the future when the ConfigureNotify event arrives.  */
-  change_frame_size (f, rows, cols, 0, 0);
+     point in the future when the ConfigureNotify event arrives.
+
+     We pass 1 for DELAY since we can't run Lisp code inside of
+     a BLOCK_INPUT.  */
+  change_frame_size (f, rows, cols, 0, 1);
   PIXEL_WIDTH (f) = pixelwidth;
   PIXEL_HEIGHT (f) = pixelheight;