Commit fa0d6bd0 authored by Sam Lantinga's avatar Sam Lantinga

Fixed focus comptability bug

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402206
parent da664292
...@@ -212,7 +212,7 @@ SDL_CompatEventFilter(void *userdata, SDL_Event * event) ...@@ -212,7 +212,7 @@ SDL_CompatEventFilter(void *userdata, SDL_Event * event)
break; break;
case SDL_WINDOWEVENT_FOCUS_LOST: case SDL_WINDOWEVENT_FOCUS_LOST:
fake.type = SDL_ACTIVEEVENT; fake.type = SDL_ACTIVEEVENT;
fake.active.gain = 1; fake.active.gain = 0;
fake.active.state = SDL_APPINPUTFOCUS; fake.active.state = SDL_APPINPUTFOCUS;
SDL_PushEvent(&fake); SDL_PushEvent(&fake);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment