aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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