diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 54714d3d85..addf28ac5b 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -731,7 +731,13 @@ static void HandleSDLEvents() if(g_bHasFocus) BoostAppPri(); else + { RestoreAppPri(); + + /* If we lose focus, we may lose input events, especially key + * releases. */ + INPUTFILTER->Reset(); + } } } }