src/video/cocoa/SDL_cocoawindow.m
changeset 7535 c515121a3df7
parent 7534 f0f5143b27cf
child 7566 b14d00c30095
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Mon Jul 22 20:55:07 2013 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Sat Jul 27 13:09:15 2013 -0400
     1.3 @@ -158,7 +158,14 @@
     1.4      }
     1.5  
     1.6      /* Make the next window in the z-order Key. If we weren't the foreground
     1.7 -       when closed, this is a no-op. */
     1.8 +       when closed, this is a no-op.
     1.9 +       !!! FIXME: Note that this is a hack, and there are corner cases where
    1.10 +       !!! FIXME:  this fails (such as the About box). The typical nib+RunLoop
    1.11 +       !!! FIXME:  handles this for Cocoa apps, but we bypass all that in SDL.
    1.12 +       !!! FIXME:  We should remove this code when we find a better way to
    1.13 +       !!! FIXME:  have the system do this for us. See discussion in
    1.14 +       !!! FIXME:   http://bugzilla.libsdl.org/show_bug.cgi?id=1825
    1.15 +    */
    1.16      windows = [NSApp orderedWindows];
    1.17      if ([windows count] > 0) {
    1.18          NSWindow *win = (NSWindow *) [windows objectAtIndex:0];