Mercurial > emacs
changeset 15078:a295c26b5d67
Include blockinput.h.
(change_frame_size_1): Block input around the real work.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 26 Apr 1996 15:45:46 +0000 |
parents | e6464ccca756 |
children | b11a1ef8c709 |
files | src/dispnew.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Fri Apr 26 11:56:25 1996 +0000 +++ b/src/dispnew.c Fri Apr 26 15:45:46 1996 +0000 @@ -2130,8 +2130,6 @@ 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 @@ && 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