diff options
author | Sylvain Becker <sylvain.becker@gmail.com> | 2019-01-04 23:39:27 +0100 |
---|---|---|
committer | Sylvain Becker <sylvain.becker@gmail.com> | 2019-01-04 23:39:27 +0100 |
commit | c6753e30f3af55c0394a2dad3ba7fa81fe08ff02 (patch) | |
tree | 591d23d1e5f855a74f1fe975c2cc53694c924612 /include | |
parent | 05187066ea68d05ddb25d52a88ae7f203f4b8d90 (diff) |
Android: fixed immediate transition to pause and resume.
"Pause" transition will add events:
SDL_WINDOWEVENT_ENTER
SDL_WINDOWEVENT_FOCUS_LOST
SDL_WINDOWEVENT_MINIMIZED
SDL_APP_WILL ENTER BACKGROUND
SDL_APP_DID ENTER BACKGROUND
"Resume" transition will add events:
SDL_APP_WILL ENTER FOREGROUND
SDL_APP_DID ENTER FOREGROUND
SDL_WINDOWEVENT_FOCUS_GAINED
SDL_WINDOWEVENT_RESTORED
If Android application doesn't empty the event loop in between, it enters in
"paused" state when SDL_WINDOWEVENT_RESTORED is fetched.
See bug 3250 for pratical case.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions