[SDL] Loose mouse focus

Dimitris Zenios dimitris.zenios at gmail.com
Mon Mar 18 11:06:02 PDT 2013


Have a look at this

http://wiki.libsdl.org/moin.fcg/SDL_WindowEvent

SDL_WINDOWEVENT_ENTER, SDL_WINDOWEVENT_LEAVE most probably are the events
you are looking for


On Mon, Mar 18, 2013 at 7:57 PM, Taiki <taiki at rakshata.com> wrote:

> **
> Hello,
> Is there any way to get an event when a window loose mouse focus? Like
> when the window loose the keyboard focus.
> I need it because when the mouse isn't in the window, I don't receive any
> event.
>
> Thanks
>
> Taiki
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130318/93251fd1/attachment-0009.htm>


More information about the SDL mailing list