src/video/quartz/SDL_QuartzVideo.m
branchSDL-1.2
changeset 6233 fdb37a6dc407
parent 6230 9113ae840e93
child 7069 f7fd5c3951b9
equal deleted inserted replaced
6230:9113ae840e93 6233:fdb37a6dc407
   838         /* Apparently Lion checks some version flag set by the linker
   838         /* Apparently Lion checks some version flag set by the linker
   839            and changes API behavior. Annoying. */
   839            and changes API behavior. Annoying. */
   840         if ( isLion ) {
   840         if ( isLion ) {
   841             [ qz_window setLevel:CGShieldingWindowLevel() ];
   841             [ qz_window setLevel:CGShieldingWindowLevel() ];
   842             [ gl_context setView: window_view ];
   842             [ gl_context setView: window_view ];
   843             [ gl_context setFullScreen ];
   843             //[ gl_context setFullScreen ];
   844             [ gl_context update ];
   844             [ gl_context update ];
   845         }
   845         }
   846 
   846 
   847 #if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
   847 #if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
   848         if ( !isLion ) {
   848         if ( !isLion ) {
   901     }
   901     }
   902 
   902 
   903     if (isLion) {
   903     if (isLion) {
   904         [ qz_window setHasShadow:NO];
   904         [ qz_window setHasShadow:NO];
   905         [ qz_window setOpaque:YES];
   905         [ qz_window setOpaque:YES];
       
   906         [ qz_window makeKeyAndOrderFront:nil ];
   906     }
   907     }
   907 
   908 
   908     /* !!! FIXME: keep an eye on this.
   909     /* !!! FIXME: keep an eye on this.
   909      * This API is officially unavailable for 64-bit binaries.
   910      * This API is officially unavailable for 64-bit binaries.
   910      *  It happens to work, as of 10.7, but we're going to see if
   911      *  It happens to work, as of 10.7, but we're going to see if