mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
dad420670f
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 |