src/video/quartz/SDL_QuartzVideo.m
changeset 934 af585d6efec8
parent 876 9e84d106ec19
child 967 cda407d627a3
equal deleted inserted replaced
933:4272450dd8d0 934:af585d6efec8
   205     cursor_visible              = YES;
   205     cursor_visible              = YES;
   206     current_mods = 0;
   206     current_mods = 0;
   207     
   207     
   208     if ( Gestalt(gestaltSystemVersion, &system_version) != noErr )
   208     if ( Gestalt(gestaltSystemVersion, &system_version) != noErr )
   209         system_version = 0;
   209         system_version = 0;
   210 
   210     
   211     /* register for sleep notifications so wake from sleep generates SDL_VIDEOEXPOSE */
   211     /* register for sleep notifications so wake from sleep generates SDL_VIDEOEXPOSE */
   212     QZ_RegisterForSleepNotifications (this);
   212     QZ_RegisterForSleepNotifications (this);
   213     
   213     
   214     return 0;
   214     return 0;
   215 }
   215 }