Fix handling of VISIBILITY event so that screen contents are
authorChris Hanson <org/chris-hanson/cph>
Fri, 3 May 1996 20:00:14 +0000 (20:00 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 3 May 1996 20:00:14 +0000 (20:00 +0000)
immediately invalidated.  This allows subsequent redisplay events to
take proper action.

v7/src/edwin/os2term.scm

index 8acfa6e657a7292e627f53339ac0ff5830ef6d42..839750b8a1035ab82dcc01fc0c6d07823cf20c0d 100644 (file)
@@ -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
 ;;;
         (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)