src/video/cocoa/SDL_cocoawindow.m
changeset 8623 b4eee818b6fd
parent 8622 957fbefc8556
child 8652 8514fc57f124
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Sat Mar 15 15:35:15 2014 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Sat Mar 15 16:27:06 2014 -0700
     1.3 @@ -613,7 +613,10 @@
     1.4          window->h = 0;
     1.5          [self windowDidResize:aNotification];
     1.6  
     1.7 -        Cocoa_ShowWindow(SDL_GetVideoDevice(), window);
     1.8 +        /* FIXME: Why does the window get hidden? */
     1.9 +        if (window->flags & SDL_WINDOW_SHOWN) {
    1.10 +            Cocoa_ShowWindow(SDL_GetVideoDevice(), window);
    1.11 +        }
    1.12      }
    1.13  }
    1.14