changeset 15065:270020829d09

Include blockinput.h. (change_frame_size_1): Block input around the real work.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Apr 1996 20:32:58 +0000
parents fb0f2804c34a
children c693261af1c6
files src/dispnew.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Tue Apr 23 20:32:33 1996 +0000
+++ b/src/dispnew.c	Tue Apr 23 20:32:58 1996 +0000
@@ -40,6 +40,7 @@
 #include "disptab.h"
 #include "indent.h"
 #include "intervals.h"
+#include "blockinput.h"
 
 #include "systty.h"
 #include "syssignal.h"
@@ -2129,6 +2130,8 @@
       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 @@
 
   remake_frame_glyphs (frame);
   calculate_costs (frame);
+
+  UNBLOCK_INPUT;
 }
 
 DEFUN ("send-string-to-terminal", Fsend_string_to_terminal,