mirror of
https://github.com/yawut/SDL.git
synced 2026-03-29 05:04:33 -05:00
If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump. |
||
|---|---|---|
| .. | ||
| SDL_test_assert.c | ||
| SDL_test_common.c | ||
| SDL_test_compare.c | ||
| SDL_test_crc32.c | ||
| SDL_test_font.c | ||
| SDL_test_fuzzer.c | ||
| SDL_test_harness.c | ||
| SDL_test_imageBlit.c | ||
| SDL_test_imageBlitBlend.c | ||
| SDL_test_imageFace.c | ||
| SDL_test_imagePrimitives.c | ||
| SDL_test_imagePrimitivesBlend.c | ||
| SDL_test_log.c | ||
| SDL_test_md5.c | ||
| SDL_test_random.c | ||