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

This commit is contained in:
Ryan C. Gordon 2014-03-15 15:35:15 -04:00
parent f25ee50b03
commit c663d731f1
1 changed files with 2 additions and 0 deletions

View File

@ -612,6 +612,8 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
window->w = 0; window->w = 0;
window->h = 0; window->h = 0;
[self windowDidResize:aNotification]; [self windowDidResize:aNotification];
Cocoa_ShowWindow(SDL_GetVideoDevice(), window);
} }
} }