From: Guido van Rossum Date: Mon, 7 Sep 1992 15:11:30 +0000 (+0000) Subject: Clear the window when receiving a REDRAW event and not playing X-Git-Tag: v0.9.8~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2de9b68fea0be67d731b275b38fa015d95702f69;p=thirdparty%2FPython%2Fcpython.git Clear the window when receiving a REDRAW event and not playing --- diff --git a/Demo/sgi/video/Vplay.py b/Demo/sgi/video/Vplay.py index facd20f3fea6..4fe13c5995ae 100755 --- a/Demo/sgi/video/Vplay.py +++ b/Demo/sgi/video/Vplay.py @@ -170,6 +170,8 @@ def process(filename): if not looping: while not stop: dev, val = gl.qread() + if dev == REDRAW: + vin.clear() if dev == LEFTMOUSE and val == 1: break # Continue outer loop if dev == ESCKEY and val == 1 or \