src/video/cocoa/SDL_cocoawindow.m
changeset 7771 4434498bf4b9
parent 7746 6a05d7352575
child 7873 e88af17231bd
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Mon Sep 30 22:16:14 2013 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Mon Sep 30 22:35:32 2013 -0700
     1.3 @@ -44,7 +44,7 @@
     1.4  
     1.5  static Uint32 s_moveHack;
     1.6  
     1.7 -static __inline__ void ConvertNSRect(NSRect *r)
     1.8 +static void ConvertNSRect(NSRect *r)
     1.9  {
    1.10      r->origin.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - r->origin.y - r->size.height;
    1.11  }
    1.12 @@ -920,8 +920,9 @@
    1.13      SDL_WindowData *windowData = ((SDL_WindowData *) window->driverdata);
    1.14      NSWindow *nswindow = windowData->nswindow;
    1.15  
    1.16 -    // makeKeyAndOrderFront: has the side-effect of deminiaturizing and showing
    1.17 -    // a minimized or hidden window, so check for that before showing it.
    1.18 +    /* makeKeyAndOrderFront: has the side-effect of deminiaturizing and showing
    1.19 +       a minimized or hidden window, so check for that before showing it.
    1.20 +     */
    1.21      [windowData->listener pauseVisibleObservation];
    1.22      if (![nswindow isMiniaturized] && [nswindow isVisible]) {
    1.23          [nswindow makeKeyAndOrderFront:nil];