From 0be60bddf13d05c46d726497d8351ec70051bc0c Mon Sep 17 00:00:00 2001 From: Stephen Adams Date: Wed, 28 Jun 1995 23:29:17 +0000 Subject: [PATCH] In READ-EVENT-1, include INTERRUPT-BIT/GLOBAL-1 so that messages (including keypresses) are dispatched to the screen window by the interrupt-handler, otherwise we could wait forever. --- v7/src/edwin/win32.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/v7/src/edwin/win32.scm b/v7/src/edwin/win32.scm index 95cc92bce..9ef91a818 100644 --- a/v7/src/edwin/win32.scm +++ b/v7/src/edwin/win32.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: win32.scm,v 1.3 1994/11/03 04:41:31 adams Exp $ +;;; $Id: win32.scm,v 1.4 1995/06/28 23:29:17 adams Exp $ ;;; ;;; Copyright (c) 1994 Massachusetts Institute of Technology ;;; @@ -533,8 +533,11 @@ result)) (let ((interrupt-mask ;;(set-interrupt-enables! 5) - (set-interrupt-enables! interrupt-mask/gc-ok)) - ) + ;;(set-interrupt-enables! interrupt-mask/gc-ok) + ;; Include INTERRUPT-BIT/GLOBAL-1 so that messages are dispatched + ;; to the screen by the interrupt-handler. + (set-interrupt-enables! + (fix:or interrupt-mask/gc-ok interrupt-bit/global-1)))) (if (eq? block? 'IN-UPDATE) (and screen-handle (let ((result (win32-screen-get-event screen-handle))) -- 2.25.1