Explorar el Código

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

Ryan C. Gordon hace 11 años
padre
commit
c663d731f1
Se han modificado 1 ficheros con 2 adiciones y 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);
     }
 }