diff options
| author | Richard M. Stallman | 2002-03-30 23:48:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-03-30 23:48:04 +0000 |
| commit | de70f8b64d01203eaa00ed98c0b155e6dc576a79 (patch) | |
| tree | 1012ee1e0abed7ef65991a7a4d66869655ee479b /src/widget.c | |
| parent | fd524c21ee114c266a0c80a925da72970142512b (diff) | |
| download | emacs-de70f8b64d01203eaa00ed98c0b155e6dc576a79.tar.gz emacs-de70f8b64d01203eaa00ed98c0b155e6dc576a79.zip | |
(set_frame_size): Don't call change_frame_size.
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widget.c b/src/widget.c index ab4c4f869b5..4f2e1dee173 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -436,7 +436,11 @@ set_frame_size (ew) | |||
| 436 | 436 | ||
| 437 | x_compute_fringe_widths (frame, 0); | 437 | x_compute_fringe_widths (frame, 0); |
| 438 | 438 | ||
| 439 | #if 0 /* This can run Lisp code, and it is dangerous to give | ||
| 440 | out the frame to Lisp code before it officially exists. | ||
| 441 | This is handled in Fx_create_frame so not needed here. */ | ||
| 439 | change_frame_size (frame, h, w, 1, 0, 0); | 442 | change_frame_size (frame, h, w, 1, 0, 0); |
| 443 | #endif | ||
| 440 | char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height); | 444 | char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height); |
| 441 | ew->core.width = pixel_width; | 445 | ew->core.width = pixel_width; |
| 442 | ew->core.height = pixel_height; | 446 | ew->core.height = pixel_height; |