# HG changeset patch # User Sam Lantinga # Date 1162053668 0 # Node ID 38148947fdcf9cdd349ec973e7119ba65d913e30 # Parent c2fed8bb67002ed3c333be60d510db797de75ef0 Fixed focus comptability bug diff -r c2fed8bb6700 -r 38148947fdcf 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;