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

Re: [pygame] graphics freeze when mouse click occurs on windows



Hey,

pygame.display.toggle_fullscreen() is not implemented on windows.  I
think the new sdl adds support for it on windows.  Which is included
in the unreleased pygame1.7(should be out any time now).

how are you getting events?



On Apr 5, 2005 1:19 PM, Alexander Duesel
<Alexander.Duesel@xxxxxxxxxxxxxxxx> wrote:
> Am Mon, 4 Apr 2005 18:54:21 -0700 hat
> andrew baker <failrate@xxxxxxxxx> geschrieben:
> >I've never experienced this.  What Windows are you using?
> 
> WindowsXP, Python23, latest Win Pygame bundle, psyco1.4
> 
> > Are you
> >using just Python and Pygame, or do you have any other
> >input
> >libraries/interfaces?
> 
> It's just Python, Pygame and no mouse - but the code is a
> bit messy so the bug might be in the Python code not in
> WindowsXP... There is a lot of pygame.display.update()
> from different threads and key handling runs in an extra
> thread.
> 
> The graphics also freezes when some gui event from another
> application occurs, e.g. a window from instant messenger
> pops up. On Linux everything is o.k. plus I got a frame
> for the application window - on windows there is no frame.
> The application occupies half of my desktop and I cannot
> put it somewhere else. Maybe this is the point?
> 
> I tried this statement to get a frame:
> 
> pygame.display.toggle_fullscreen()
> 
> but didn't work.
> 
> Alex
>