mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +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.
16 lines
729 B
Plaintext
16 lines
729 B
Plaintext
Future work roadmap:
|
|
* http://wiki.libsdl.org/moin.cgi/Roadmap
|
|
|
|
* See why windows are being rearranged. Is the shield window not up?
|
|
* Add __WINDOWS__ in addition to __WIN32__
|
|
* Write test for fullscreen gamma to check X11 colormap handling
|
|
|
|
* Check 1.2 revisions:
|
|
3554 - Need to resolve semantics for locking keys on different platforms
|
|
4874 - Do we want screen rotation? At what level?
|
|
4974 - Windows file code needs to convert UTF-8 to Unicode, but we don't need to tap dance for Windows 95/98
|
|
4484, 4485 - Verify that SDL's Windows keyboard handling works correctly
|
|
4865 - See if this is still needed (mouse coordinate clamping)
|
|
4866 - See if this is still needed (blocking window repositioning)
|
|
|