changeset 2058:38148947fdcf

Fixed focus comptability bug
author Sam Lantinga <slouken@libsdl.org>
date Sat, 28 Oct 2006 16:41:08 +0000
parents c2fed8bb6700
children 4685ccd33d0e
files src/SDL_compat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;