diff --git a/src/video/android/SDL_androidevents.c b/src/video/android/SDL_androidevents.c index 8e8ecd61f..d69296832 100644 --- a/src/video/android/SDL_androidevents.c +++ b/src/video/android/SDL_androidevents.c @@ -104,8 +104,8 @@ Android_PumpEvents(_THIS) } else { if (isPausing || SDL_SemTryWait(Android_PauseSem) == 0) { /* We've been signaled to pause, but before we block ourselves, - we need to make sure that certain key events have reached the app */ - if (SDL_HasEvent(SDL_WINDOWEVENT) || SDL_HasEvent(SDL_APP_WILLENTERBACKGROUND) || SDL_HasEvent(SDL_APP_DIDENTERBACKGROUND) ) { + we need to make sure that the very last event have reached the app */ + if (SDL_HasEvent(SDL_APP_DIDENTERBACKGROUND)) { isPausing = 1; } else {