[SDL] Mouse focused lost even if mouse inside window.

Sam Lantinga slouken at devolution.com
Sun May 16 10:43:32 PDT 2004


> Sometimes when changing video mode between windowed and fullscreen I get the
> SDL_APPMOUSEFOCUS (gain=0) event (I've tested this alot and it happens now
> and then (suddenly it might work as expected)). This is strange because it
> seems to be sent even if my mouse is within the application window! Has
> anybody experienced this before? I saw in the ChangeLog that something was
> done about this issue: "1.2.7: Fixed mouse focus events after resetting
> video mode on Windows " but it doesn't work here. Perhaps this is a newly
> introduced bug?

Can you reproduce this with the testwm test program in the SDL source archive?
If not, can you post a minimal test case I can use to see the problem?

Thanks!
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list