Index: SDL-1.2/src/video/windx5/SDL_dx5events.c =================================================================== --- SDL-1.2/src/video/windx5/SDL_dx5events.c (revision 5245) +++ SDL-1.2/src/video/windx5/SDL_dx5events.c (working copy) @@ -559,13 +559,15 @@ active = (wParam && (GetForegroundWindow() == hwnd)); if ( active ) { - for ( i=0; SDL_DIdev[i]; ++i ) { - IDirectInputDevice2_Acquire( + for ( i=0; i