# HG changeset patch # User Richard M. Stallman # Date 830533546 0 # Node ID a295c26b5d67c81ace40e0c595eed688f3e23ead # Parent e6464ccca756837a049beb658d5d27a40765b5a5 Include blockinput.h. (change_frame_size_1): Block input around the real work. diff -r e6464ccca756 -r a295c26b5d67 src/dispnew.c --- a/src/dispnew.c Fri Apr 26 11:56:25 1996 +0000 +++ b/src/dispnew.c Fri Apr 26 15:45:46 1996 +0000 @@ -2130,8 +2130,6 @@ return; } - BLOCK_INPUT; - /* This size-change overrides any pending one for this frame. */ FRAME_NEW_HEIGHT (frame) = 0; FRAME_NEW_WIDTH (frame) = 0; @@ -2148,6 +2146,8 @@ && newwidth == FRAME_WIDTH (frame)) return; + BLOCK_INPUT; + #ifdef MSDOS /* We only can set screen dimensions to certain values supported by our video hardware. Try to find the smallest size greater