diff src/SDL_compat.c @ 2058:38148947fdcf

Fixed focus comptability bug
author Sam Lantinga <slouken@libsdl.org>
date Sat, 28 Oct 2006 16:41:08 +0000
parents 6bb97f41ab4b
children 047245361002
line wrap: on
line diff
--- 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;