Fixed focus comptability bug
authorSam Lantinga <slouken@libsdl.org>
Sat, 28 Oct 2006 16:41:08 +0000
changeset 2058 38148947fdcf
parent 2057 c2fed8bb6700
child 2059 4685ccd33d0e
Fixed focus comptability bug
src/SDL_compat.c
--- a/src/SDL_compat.c	Sat Oct 28 07:49:19 2006 +0000
+++ b/src/SDL_compat.c	Sat Oct 28 16:41:08 2006 +0000
@@ -212,7 +212,7 @@
             break;
         case SDL_WINDOWEVENT_FOCUS_LOST:
             fake.type = SDL_ACTIVEEVENT;
-            fake.active.gain = 1;
+            fake.active.gain = 0;
             fake.active.state = SDL_APPINPUTFOCUS;
             SDL_PushEvent(&fake);
             break;