SDL/src/video/cocoa
Sam Lantinga 8fc1fb0805 Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen
bastien.bouclet

When exiting a "fullscreen space" on OS X, windows don't go to their defined "windowed mode size", but go back to their previous size.

Steps to reproduce:
1. Create a windowed mode SDL window
2. Toggle it to fullscreen with the SDL_WINDOW_FULLSCREEN_DESKTOP flag
3. While in fullscreen, change the windowed mode size using SDL_SetWindowSize
4. Toggle the window back to windowed mode

Expected result:
- The window has the size specified during step 3.

Actual result:
- The window has the size specified when creating the window in step 1.

Attached is a minimal reproduction test case.
The attached test case works as expected on X11 and Windows.
2017-08-29 21:42:22 -07:00
..
SDL_cocoaclipboard.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoaclipboard.m Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoaevents.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoaevents.m macOS: Address more compiler warnings when building with a recent deployment target. 2017-07-13 23:09:37 -03:00
SDL_cocoakeyboard.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoakeyboard.m macOS: Address more compiler warnings when building with a recent deployment target. 2017-07-13 23:09:37 -03:00
SDL_cocoamessagebox.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoamessagebox.m macOS: Address more compiler warnings when building with a recent deployment target. 2017-07-13 23:09:37 -03:00
SDL_cocoametalview.h Fixed Vulkan configure check for Android and added one for Mac OS X 2017-08-28 22:36:45 -07:00
SDL_cocoametalview.m Fixed bug 3786 - building against a Mac OS X SDK < 10.11 fails since the vulkan merge 2017-08-28 22:13:45 -07:00
SDL_cocoamodes.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoamodes.m Fix a potential crash in macOS 10.7 and earlier. 2017-07-12 21:32:10 -03:00
SDL_cocoamouse.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoamouse.m Fixed bug 2293 - Precise scrolling events 2017-08-14 21:28:04 -07:00
SDL_cocoamousetap.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoamousetap.m Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoaopengl.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoaopengl.m Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoashape.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoashape.m macOS: Replace uses of deprecated Cocoa enum names with modern/consistent equivalents. 2017-07-13 22:59:02 -03:00
SDL_cocoavideo.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoavideo.m Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h 2017-08-28 00:43:14 -07:00
SDL_cocoavulkan.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoavulkan.m Be clear that disabling Vulkan surface support disables the entire SDL Vulkan integration 2017-08-28 00:11:38 -07:00
SDL_cocoawindow.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoawindow.m Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen 2017-08-29 21:42:22 -07:00