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).-------------------------------
Fabian “SupaGu” Mathews
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
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).