Mac: Make sure window is still showing when we exit a fullscreen space.
diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m
index c4dee21..21f2697 100644
--- a/src/video/cocoa/SDL_cocoawindow.m
+++ b/src/video/cocoa/SDL_cocoawindow.m
@@ -612,6 +612,8 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
window->w = 0;
window->h = 0;
[self windowDidResize:aNotification];
+
+ Cocoa_ShowWindow(SDL_GetVideoDevice(), window);
}
}