Mercurial > emacs
changeset 3449:ad455da9b789
(do_pending_window_change): No need to clear
FRAME_NEW_HEIGHT/WIDTH. Do test width != 0.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 03 Jun 1993 06:18:18 +0000 |
parents | b7d345eaae47 |
children | 89cd5536ee81 |
files | src/dispnew.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Thu Jun 03 06:12:46 1993 +0000 +++ b/src/dispnew.c Thu Jun 03 06:18:18 1993 +0000 @@ -1657,11 +1657,8 @@ int height = FRAME_NEW_HEIGHT (f); int width = FRAME_NEW_WIDTH (f); - - FRAME_NEW_HEIGHT (f) = 0; - FRAME_NEW_WIDTH (f) = 0; - if (height != 0) + if (height != 0 || width != 0) change_frame_size (f, height, width, 0, 0); } } @@ -1693,7 +1690,7 @@ FRAME_NEW_HEIGHT (frame) = 0; FRAME_NEW_WIDTH (frame) = 0; - /* If an arguments is zero, set it to the current value. */ + /* If an argument is zero, set it to the current value. */ newheight || (newheight = FRAME_HEIGHT (frame)); newwidth || (newwidth = FRAME_WIDTH (frame));