From: Richard M. Stallman Date: Tue, 23 Apr 1996 20:32:58 +0000 (+0000) Subject: Include blockinput.h. X-Git-Tag: emacs-19.34~796 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=97cf50e75334a417de30abcfd786e78ea2263a28;p=emacs.git Include blockinput.h. (change_frame_size_1): Block input around the real work. --- diff --git a/src/dispnew.c b/src/dispnew.c index 25ac26dd951..165a5dce3bb 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */ #include "disptab.h" #include "indent.h" #include "intervals.h" +#include "blockinput.h" #include "systty.h" #include "syssignal.h" @@ -2129,6 +2130,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay) return; } + BLOCK_INPUT; + /* This size-change overrides any pending one for this frame. */ FRAME_NEW_HEIGHT (frame) = 0; FRAME_NEW_WIDTH (frame) = 0; @@ -2210,6 +2213,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay) remake_frame_glyphs (frame); calculate_costs (frame); + + UNBLOCK_INPUT; } DEFUN ("send-string-to-terminal", Fsend_string_to_terminal,