src/video/quartz/SDL_QuartzVideo.m
changeset 1629 ef4a796e7f24
parent 1545 8d9bb0cf2c2a
child 1654 0a53c90a37f9
child 1756 eed7a3f396ce
equal deleted inserted replaced
1628:10b4827452a8 1629:ef4a796e7f24
   558     [ [ NSScreen mainScreen ] setFrame:screen_rect ]; 
   558     [ [ NSScreen mainScreen ] setFrame:screen_rect ]; 
   559 
   559 
   560     /* Save the flags to ensure correct tear-down */
   560     /* Save the flags to ensure correct tear-down */
   561     mode_flags = current->flags;
   561     mode_flags = current->flags;
   562 
   562 
   563     /* we're fullscreen, so flag all input states... */
   563     /* Set app state, hide cursor if necessary, ... */
   564     SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS | SDL_APPINPUTFOCUS | SDL_APPACTIVE);
   564     QZ_DoActivate(this);
   565 
   565 
   566     return current;
   566     return current;
   567 
   567 
   568     /* Since the blanking window covers *all* windows (even force quit) correct recovery is crucial */
   568     /* Since the blanking window covers *all* windows (even force quit) correct recovery is crucial */
   569 ERR_NO_GL:      
   569 ERR_NO_GL: