diff options
| author | Gerd Moellmann | 1999-08-21 19:29:38 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-08-21 19:29:38 +0000 |
| commit | 32347cf4deb76073e688fe14f0875e0366c981be (patch) | |
| tree | a63824260a83b03d102f73aae9e9ab0dea7744f0 | |
| parent | 2e5da6761e5995a3438f488c9a8a49575acbee63 (diff) | |
| download | emacs-32347cf4deb76073e688fe14f0875e0366c981be.tar.gz emacs-32347cf4deb76073e688fe14f0875e0366c981be.zip | |
Call change_frame_size and do_pending_window_change with
new parameter.
Remove references to echo_area_glyphs
and previous_echo_glyphs.
| -rw-r--r-- | src/frame.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/frame.c b/src/frame.c index fc2a175305b..a650d077d41 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -571,7 +571,7 @@ Note that changing the size of one terminal frame automatically affects all.") | |||
| 571 | 571 | ||
| 572 | f = make_terminal_frame (); | 572 | f = make_terminal_frame (); |
| 573 | change_frame_size (f, FRAME_HEIGHT (selected_frame), | 573 | change_frame_size (f, FRAME_HEIGHT (selected_frame), |
| 574 | FRAME_WIDTH (selected_frame), 0, 0); | 574 | FRAME_WIDTH (selected_frame), 0, 0, 0); |
| 575 | adjust_glyphs (f); | 575 | adjust_glyphs (f); |
| 576 | calculate_costs (f); | 576 | calculate_costs (f); |
| 577 | XSETFRAME (frame, f); | 577 | XSETFRAME (frame, f); |
| @@ -1194,12 +1194,6 @@ but if the second optional argument FORCE is non-nil, you may do so.") | |||
| 1194 | Vframe_list = Fdelq (frame, Vframe_list); | 1194 | Vframe_list = Fdelq (frame, Vframe_list); |
| 1195 | FRAME_SET_VISIBLE (f, 0); | 1195 | FRAME_SET_VISIBLE (f, 0); |
| 1196 | 1196 | ||
| 1197 | if (echo_area_glyphs == FRAME_MESSAGE_BUF (f)) | ||
| 1198 | { | ||
| 1199 | echo_area_glyphs = 0; | ||
| 1200 | previous_echo_glyphs = 0; | ||
| 1201 | } | ||
| 1202 | |||
| 1203 | if (f->namebuf) | 1197 | if (f->namebuf) |
| 1204 | xfree (f->namebuf); | 1198 | xfree (f->namebuf); |
| 1205 | if (FRAME_INSERT_COST (f)) | 1199 | if (FRAME_INSERT_COST (f)) |
| @@ -2201,11 +2195,11 @@ but that the idea of the actual height of the frame should not be changed.") | |||
| 2201 | { | 2195 | { |
| 2202 | if (XINT (lines) != f->height) | 2196 | if (XINT (lines) != f->height) |
| 2203 | x_set_window_size (f, 1, f->width, XINT (lines)); | 2197 | x_set_window_size (f, 1, f->width, XINT (lines)); |
| 2204 | do_pending_window_change (); | 2198 | do_pending_window_change (0); |
| 2205 | } | 2199 | } |
| 2206 | else | 2200 | else |
| 2207 | #endif | 2201 | #endif |
| 2208 | change_frame_size (f, XINT (lines), 0, !NILP (pretend), 0); | 2202 | change_frame_size (f, XINT (lines), 0, !NILP (pretend), 0, 0); |
| 2209 | return Qnil; | 2203 | return Qnil; |
| 2210 | } | 2204 | } |
| 2211 | 2205 | ||
| @@ -2232,11 +2226,11 @@ but that the idea of the actual width of the frame should not be changed.") | |||
| 2232 | { | 2226 | { |
| 2233 | if (XINT (cols) != f->width) | 2227 | if (XINT (cols) != f->width) |
| 2234 | x_set_window_size (f, 1, XINT (cols), f->height); | 2228 | x_set_window_size (f, 1, XINT (cols), f->height); |
| 2235 | do_pending_window_change (); | 2229 | do_pending_window_change (0); |
| 2236 | } | 2230 | } |
| 2237 | else | 2231 | else |
| 2238 | #endif | 2232 | #endif |
| 2239 | change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0); | 2233 | change_frame_size (f, 0, XINT (cols), !NILP (pretend), 0, 0); |
| 2240 | return Qnil; | 2234 | return Qnil; |
| 2241 | } | 2235 | } |
| 2242 | 2236 | ||
| @@ -2260,11 +2254,11 @@ DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0, | |||
| 2260 | if (XINT (rows) != f->height || XINT (cols) != f->width | 2254 | if (XINT (rows) != f->height || XINT (cols) != f->width |
| 2261 | || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f)) | 2255 | || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f)) |
| 2262 | x_set_window_size (f, 1, XINT (cols), XINT (rows)); | 2256 | x_set_window_size (f, 1, XINT (cols), XINT (rows)); |
| 2263 | do_pending_window_change (); | 2257 | do_pending_window_change (0); |
| 2264 | } | 2258 | } |
| 2265 | else | 2259 | else |
| 2266 | #endif | 2260 | #endif |
| 2267 | change_frame_size (f, XINT (rows), XINT (cols), 0, 0); | 2261 | change_frame_size (f, XINT (rows), XINT (cols), 0, 0, 0); |
| 2268 | 2262 | ||
| 2269 | return Qnil; | 2263 | return Qnil; |
| 2270 | } | 2264 | } |