From: Chris Hanson Date: Fri, 3 May 1996 20:00:14 +0000 (+0000) Subject: Fix handling of VISIBILITY event so that screen contents are X-Git-Tag: 20090517-FFI~5552 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=ec376cdc3436b88e17401115b0dcd5df8fb3775f;p=mit-scheme.git Fix handling of VISIBILITY event so that screen contents are immediately invalidated. This allows subsequent redisplay events to take proper action. --- 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)