diff options
author | Guido van Rossum <guido@python.org> | 1992-09-07 15:11:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-09-07 15:11:30 (GMT) |
commit | 2de9b68fea0be67d731b275b38fa015d95702f69 (patch) | |
tree | 6e1c5e0ee88791b914c666bc8025d9ef4de35076 | |
parent | 00ffea36155d253ad5ccb26f2d14e1545626a723 (diff) | |
download | cpython-2de9b68fea0be67d731b275b38fa015d95702f69.zip cpython-2de9b68fea0be67d731b275b38fa015d95702f69.tar.gz cpython-2de9b68fea0be67d731b275b38fa015d95702f69.tar.bz2 |
Clear the window when receiving a REDRAW event and not playing
-rwxr-xr-x | Demo/sgi/video/Vplay.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ |