Window position upon returning from full screen

In Windows, when returning from full screen mode my window is always placed at 0, 0 instead of where it was when changed into full screen mode. Not a big deal. Is this a quirk of SDL or is there something I can do about it? Thanks,
–Warren Schwader

I’m a newbie here, for your Q, my answer is : Call SDL_QuitSubSystem
(SDL_INIT_VIDEO) and SDL_InitSubSystem (SDL_INIT_VIDEO) when switch back to
window mode, so it can be placed at the center. I know it’s dirty, but works
:slight_smile:

hope someone can point out a better way to do this.

In Windows, when returning from full screen mode my window is always placed at 0, 0 instead of where it was when changed into full screen mode. Not a big deal. Is this a quirk of SDL or is there something I can do about it? Thanks,
–Warren Schwader

This should be fixed in CVS.

Let me know if you have any more problems!

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Works now. Thanks again!
–Warren Schwader> ----- Original Message -----

From: slouken@devolution.com (Sam Lantinga)
To:
Sent: Monday, February 16, 2004 1:20 PM
Subject: Re: [SDL] Window position upon returning from full screen

In Windows, when returning from full screen mode my window is always
placed at 0, 0 instead of where it was when changed into full screen mode.
Not a big deal. Is this a quirk of SDL or is there something I can do about
it? Thanks,

–Warren Schwader

This should be fixed in CVS.

Let me know if you have any more problems!

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Works now. Thanks again!

You’re welcome!

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment