Explorar o código

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

Ryan C. Gordon %!s(int64=11) %!d(string=hai) anos
pai
achega
c663d731f1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);
     }
 }