Mercurial > emacs
comparison src/xterm.c @ 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 | 6b42357f28f9 |
children | 710445260df6 |
comparison
equal
deleted
inserted
replaced
25149:ee483f870bde | 25150:1c02364724aa |
---|---|
10710 change request eventually, and we'll hear how it went when the | 10710 change request eventually, and we'll hear how it went when the |
10711 ConfigureNotify event gets here. | 10711 ConfigureNotify event gets here. |
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 |
10722 /* We've set {FRAME,PIXEL}_{WIDTH,HEIGHT} to the values we hope to | 10725 /* We've set {FRAME,PIXEL}_{WIDTH,HEIGHT} to the values we hope to |
10723 receive in the ConfigureNotify event; if we get what we asked | 10726 receive in the ConfigureNotify event; if we get what we asked |