aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-04-26 15:45:46 +0000
committerRichard M. Stallman1996-04-26 15:45:46 +0000
commitcbb95688d20f37c9390a6fbe209c7a7861377c72 (patch)
treefdac1b44eadafd4be0a4c23662e21eae9cc0fa6b /src
parent6c05ef1e11c64d4c6eeddf105ad8e8692182d57c (diff)
downloademacs-cbb95688d20f37c9390a6fbe209c7a7861377c72.tar.gz
emacs-cbb95688d20f37c9390a6fbe209c7a7861377c72.zip
Include blockinput.h.
(change_frame_size_1): Block input around the real work.
Diffstat (limited to 'src')
-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)
2130 return; 2130 return;
2131 } 2131 }
2132 2132
2133 BLOCK_INPUT;
2134
2135 /* This size-change overrides any pending one for this frame. */ 2133 /* This size-change overrides any pending one for this frame. */
2136 FRAME_NEW_HEIGHT (frame) = 0; 2134 FRAME_NEW_HEIGHT (frame) = 0;
2137 FRAME_NEW_WIDTH (frame) = 0; 2135 FRAME_NEW_WIDTH (frame) = 0;
@@ -2148,6 +2146,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
2148 && newwidth == FRAME_WIDTH (frame)) 2146 && newwidth == FRAME_WIDTH (frame))
2149 return; 2147 return;
2150 2148
2149 BLOCK_INPUT;
2150
2151#ifdef MSDOS 2151#ifdef MSDOS
2152 /* We only can set screen dimensions to certain values supported 2152 /* We only can set screen dimensions to certain values supported
2153 by our video hardware. Try to find the smallest size greater 2153 by our video hardware. Try to find the smallest size greater