From 97cf50e75334a417de30abcfd786e78ea2263a28 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 23 Apr 1996 20:32:58 +0000 Subject: [PATCH] Include blockinput.h. (change_frame_size_1): Block input around the real work. --- src/dispnew.c | 5 +++++ 1 file changed, 5 insertions(+) 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, -- 2.39.2