[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] invisible windows when fullscreen switching on MacOSX
Okay,
I couldn't get pygame.display.toggle_fullscreen() to work. Fine. Docs say it's only for LINUX.
So, after googling around I found this suggestion, which does work...
pygame.display.set_mode(size, flags);
EXCEPT it creates a new window and the old one is made invisible. Not that I care so much, except
the Window menu in the menu bar keeps track of the invisible window. So a user can select it from
the menu, and POP a dead window appears.
So, I tried another suggestion that also toggled fullscreen correctly...
pygame.display.quit();
pygame.display.init();
pygame.display.set_mode(size, flags);
...hoping the quit method would kill the window. No luck.
I'm out of suggestions. Anyone?
Keith Nemitz
Ordinauteur
Mousechief Co.
www.mousechief.com "We put mischief in your mouse."