[SDL] window focus
Bernhard Bliem
bernhard.bliem at chello.at
Fri Feb 20 11:56:41 PST 2004
Hi
Maybe this is what you're looking for:
http://sdldoc.csn.ul.ie/sdlevent.php and
http://sdldoc.csn.ul.ie/sdlactiveevent.php
Just watch for the SDL_ACTIVEEVENT event.
Or try this:
http://sdldoc.csn.ul.ie/sdlgetappstate.php
Regards,
Bernhard
Fabian Mathews wrote:
>
> just wondering if there is some SDL command/event to determine if focus
> has been lost or gained so i can release the mouse back the the user
> when they say alt-tab in windows (dunno what it is in linux).
More information about the SDL
mailing list