Ivo Danihelka wrote: > On Thu, 2006-03-02 at 10:28 +0100, Oliver Eichler wrote: >> Hi, >> >> I am using pygame 1.7. on a X server. The application is a fullscreen >> application. It starts xine within a subprocess in fullscreen mode. >> After xine quits, pygame refuses to update the screen. > > Do you have a short sample code to show the behavior? > Do you regularly pumps events by pygame.event.get() or similar function? > > I would try to call another pygame.display.set_mode() after the xine > quits. > The bug was a on my side :) I stumbled over my peculiar way of handling key events with secondary keys. I recorded each key down event and added it to the the next consecutive key down event. Somehow switching to xine added a key event of 306 to my secondary key. As the event queue never saw the key up event, the pairs key + secondary key 306 where not recognized anymore. Stupid. I use the key modifier from the key event, now. Live could be such simple! Thanks anyway Oliver -- Ingenieure Kellermann, Voigt, Hoepfl, Eichler und Weidner, Partnerschaft DSP Solutions http://www.dspsolutions.de
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature