Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed focus comptability bug

  • Loading branch information
slouken committed Oct 28, 2006
1 parent c6c16ec commit e6007db0dbe2d1d13a767a784135eef32aedfa23
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/SDL_compat.c
@@ -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;

0 comments on commit e6007db

Please sign in to comment.