Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed focus comptability bug
  • Loading branch information
slouken committed Oct 28, 2006
1 parent c6c16ec commit e6007db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDL_compat.c
Expand Up @@ -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;
Expand Down

0 comments on commit e6007db

Please sign in to comment.