From fddd5cebcc556867de1356e641cd76c3869c78b4 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 2 Aug 1999 00:00:14 +0000 Subject: [PATCH] (x_set_window_size): When calling change_frame_size, specify 1 for DELAY. --- src/xterm.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index e6b03347d66..a8e5c974d15 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10712,10 +10712,13 @@ x_set_window_size (f, change_gravity, cols, rows) 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; -- 2.39.5