# HG changeset patch # User Richard M. Stallman # Date 739088298 0 # Node ID ad455da9b7891d82f7d0cbbcca64c27932104af6 # Parent b7d345eaae47ad61742422b7fc5b1c9ac15a8f76 (do_pending_window_change): No need to clear FRAME_NEW_HEIGHT/WIDTH. Do test width != 0. diff -r b7d345eaae47 -r ad455da9b789 src/dispnew.c --- 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));