[SDL] OSX: Can't minimize windows after running fullscreen
Frank Becker
crittermail2005 at telus.net
Sat Jul 15 14:40:43 PDT 2006
Frank Becker wrote:
> Hi,
>
> I've got a weird one here...
>
> After running fullscreen currently open windows refuse to minimize.
> I've attached a simple test program. Pass "-fs" to run fullscreen
> and ESC to quit. I have not tried it on an Intel box, just PPC (10.4.6).
>
> SDL (1.2.11) was build using configure with no special options. I tried
> both gcc3.3 and 4.0.1 with the same results. It also makes no difference
> if I go OpenGL fullscreen.
>
> It doesn't always happen, but most of the time.
>
> My current workaround it to switch to windowed mode before I SDL_Quit.
Some more info:
I just tried 1.2.10 (bad) and 1.2.9 (good).
If I use src/video/quartz/SDL_QuartzVideo.m from 1.2.9 in 1.2.10,
the minimize no longer goes bad. I don't see anything in the diff
that jumps out at as being bad.
When I disable the CGAcquireDisplayFadeReservation in 1.2.10, it's
less likely to happen.
When minimize doesn't work, running the workaround fixes things up.
Cheers,
--
Frank Becker - Need a break? http://criticalmass.sf.net/
More information about the SDL
mailing list