From ec376cdc3436b88e17401115b0dcd5df8fb3775f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 3 May 1996 20:00:14 +0000 Subject: [PATCH] Fix handling of VISIBILITY event so that screen contents are immediately invalidated. This allows subsequent redisplay events to take proper action. --- v7/src/edwin/os2term.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v7/src/edwin/os2term.scm b/v7/src/edwin/os2term.scm index 8acfa6e65..839750b8a 100644 --- a/v7/src/edwin/os2term.scm +++ b/v7/src/edwin/os2term.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: os2term.scm,v 1.14 1996/05/03 06:56:46 cph Exp $ +;;; $Id: os2term.scm,v 1.15 1996/05/03 20:00:14 cph Exp $ ;;; ;;; Copyright (c) 1994-96 Massachusetts Institute of Technology ;;; @@ -953,7 +953,8 @@ (if (visibility-event/shown? event) (begin (set-screen-visibility! screen 'VISIBLE) ;don't really know - (make-input-event 'UPDATE update-screen! screen #t)) + (screen-force-update screen) + (make-input-event 'UPDATE update-screen! screen #f)) (begin (set-screen-visibility! screen 'UNMAPPED) (and (selected-screen? screen) -- 2.25.1