aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-04-23 20:32:58 +0000
committerRichard M. Stallman1996-04-23 20:32:58 +0000
commit97cf50e75334a417de30abcfd786e78ea2263a28 (patch)
treebfa5ca8c7a0bf5cc07da30311f7e9956593f46ea /src
parentf854a00b99e42e68070e177f7e2c2b629b2f6bf5 (diff)
downloademacs-97cf50e75334a417de30abcfd786e78ea2263a28.tar.gz
emacs-97cf50e75334a417de30abcfd786e78ea2263a28.zip
Include blockinput.h.
(change_frame_size_1): Block input around the real work.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c5
1 files changed, 5 insertions, 0 deletions
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. */
40#include "disptab.h" 40#include "disptab.h"
41#include "indent.h" 41#include "indent.h"
42#include "intervals.h" 42#include "intervals.h"
43#include "blockinput.h"
43 44
44#include "systty.h" 45#include "systty.h"
45#include "syssignal.h" 46#include "syssignal.h"
@@ -2129,6 +2130,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
2129 return; 2130 return;
2130 } 2131 }
2131 2132
2133 BLOCK_INPUT;
2134
2132 /* This size-change overrides any pending one for this frame. */ 2135 /* This size-change overrides any pending one for this frame. */
2133 FRAME_NEW_HEIGHT (frame) = 0; 2136 FRAME_NEW_HEIGHT (frame) = 0;
2134 FRAME_NEW_WIDTH (frame) = 0; 2137 FRAME_NEW_WIDTH (frame) = 0;
@@ -2210,6 +2213,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
2210 2213
2211 remake_frame_glyphs (frame); 2214 remake_frame_glyphs (frame);
2212 calculate_costs (frame); 2215 calculate_costs (frame);
2216
2217 UNBLOCK_INPUT;
2213} 2218}
2214 2219
2215DEFUN ("send-string-to-terminal", Fsend_string_to_terminal, 2220DEFUN ("send-string-to-terminal", Fsend_string_to_terminal,