aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1999-08-02 00:00:14 +0000
committerRichard M. Stallman1999-08-02 00:00:14 +0000
commitfddd5cebcc556867de1356e641cd76c3869c78b4 (patch)
treee21457a02e2b5d7ecedf4179c2873c7de392007c
parente23f814f7016f0613a43315f61f98c546ad9c13d (diff)
downloademacs-fddd5cebcc556867de1356e641cd76c3869c78b4.tar.gz
emacs-fddd5cebcc556867de1356e641cd76c3869c78b4.zip
(x_set_window_size): When calling change_frame_size, specify 1 for DELAY.
-rw-r--r--src/xterm.c9
1 files 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)
10712 10712
10713 We could just not bother storing any of this information here, 10713 We could just not bother storing any of this information here,
10714 and let the ConfigureNotify event set everything up, but that 10714 and let the ConfigureNotify event set everything up, but that
10715 might be kind of confusing to the lisp code, since size changes 10715 might be kind of confusing to the Lisp code, since size changes
10716 wouldn't be reported in the frame parameters until some random 10716 wouldn't be reported in the frame parameters until some random
10717 point in the future when the ConfigureNotify event arrives. */ 10717 point in the future when the ConfigureNotify event arrives.
10718 change_frame_size (f, rows, cols, 0, 0); 10718
10719 We pass 1 for DELAY since we can't run Lisp code inside of
10720 a BLOCK_INPUT. */
10721 change_frame_size (f, rows, cols, 0, 1);
10719 PIXEL_WIDTH (f) = pixelwidth; 10722 PIXEL_WIDTH (f) = pixelwidth;
10720 PIXEL_HEIGHT (f) = pixelheight; 10723 PIXEL_HEIGHT (f) = pixelheight;
10721 10724