From 2de9b68fea0be67d731b275b38fa015d95702f69 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 7 Sep 1992 15:11:30 +0000 Subject: Clear the window when receiving a REDRAW event and not playing --- Demo/sgi/video/Vplay.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Demo/sgi/video/Vplay.py b/Demo/sgi/video/Vplay.py index facd20f..4fe13c5 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 \ -- cgit v0.12