[SDL] [Q] About SDL_PrivateAppActive() usage in video driver

Sam Lantinga slouken at twomix.devolution.com
Sat Aug 20 11:21:16 PDT 2005


> This is a question mostly for Sam, about the usage of this function.

> I would like to know if the SDL event queue make any use of the
> mouse/input gain/lose focus, i.e. if my driver tells SDL the mouse has
> lost focus, will I still will have mouse events generated by calling
> SDL_PrivateMouse*() functions.

Yes.  It's the driver's responsibility to not send events if the app
doesn't have the appropriate focus.

	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list