Fixed focus comptability bug
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402206
This commit is contained in:
parent
da664292cc
commit
fa0d6bd068
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ SDL_CompatEventFilter(void *userdata, SDL_Event * event)
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue