Commit cbb95688 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Include blockinput.h.

(change_frame_size_1): Block input around the real work.
parent 6c05ef1e
...@@ -2130,8 +2130,6 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay) ...@@ -2130,8 +2130,6 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
return; return;
} }
BLOCK_INPUT;
/* This size-change overrides any pending one for this frame. */ /* This size-change overrides any pending one for this frame. */
FRAME_NEW_HEIGHT (frame) = 0; FRAME_NEW_HEIGHT (frame) = 0;
FRAME_NEW_WIDTH (frame) = 0; FRAME_NEW_WIDTH (frame) = 0;
...@@ -2148,6 +2146,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay) ...@@ -2148,6 +2146,8 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
&& newwidth == FRAME_WIDTH (frame)) && newwidth == FRAME_WIDTH (frame))
return; return;
BLOCK_INPUT;
#ifdef MSDOS #ifdef MSDOS
/* We only can set screen dimensions to certain values supported /* We only can set screen dimensions to certain values supported
by our video hardware. Try to find the smallest size greater by our video hardware. Try to find the smallest size greater
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment