summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-26 15:45:46 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-26 15:45:46 +0000
commit311489de7ffd58288a667873c01698b459d63559 (patch)
treed9b6fd2c363dd160c43485a4809bdfcfa047d6ff /src/dispnew.c
parentec81a41f07bcfdf9ca8430ccbc7e2f96e080ec55 (diff)
downloademacs-311489de7ffd58288a667873c01698b459d63559.tar.gz
Include blockinput.h.
(change_frame_size_1): Block input around the real work.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 165a5dce3bb..b4f27f3633f 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2130,8 +2130,6 @@ 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;
@@ -2148,6 +2146,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
&& 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