Mac: Make sure window is still showing when we exit a fullscreen space.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 15 Mar 2014 15:35:15 -0400
changeset 8622 957fbefc8556
parent 8621 5252788cb448
child 8623 b4eee818b6fd
Mac: Make sure window is still showing when we exit a fullscreen space.
src/video/cocoa/SDL_cocoawindow.m
--- a/src/video/cocoa/SDL_cocoawindow.m	Sat Mar 15 14:54:23 2014 -0400
+++ b/src/video/cocoa/SDL_cocoawindow.m	Sat Mar 15 15:35:15 2014 -0400
@@ -612,6 +612,8 @@
         window->w = 0;
         window->h = 0;
         [self windowDidResize:aNotification];
+
+        Cocoa_ShowWindow(SDL_GetVideoDevice(), window);
     }
 }