[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] screen not being refreshed



Lee Harr wrote:
I recently started using KDE and now I notice that when working
with pygame interactively the window does not get redrawn after
it has been covered and then re-exposed.  This did not happen
with my past window managers (qlwm, twm).
ah, wait!
i just noticed the "interactively" part. pygame can be a little picky from the interactive interpreter. i assume the other window managers worked because of 'backing store' and the templated window moves.

calling "pygame.event.pump()" while at the prompt should trigger SDL to handle the redraw events waiting in its window queue.