Browse Source

Mac: Make sure window is still showing when we exit a fullscreen space.

Ryan C. Gordon 11 years ago
parent
commit
c663d731f1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/video/cocoa/SDL_cocoawindow.m

+ 2 - 0
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);
     }
 }