src/video/quartz/SDL_QuartzVideo.m
changeset 823 d67e76f25874
parent 816 428f688f2ad2
child 832 f003714db2f4
equal deleted inserted replaced
822:abb915adb1b0 823:d67e76f25874
   201 
   201 
   202     /* Set misc globals */
   202     /* Set misc globals */
   203     current_grab_mode = SDL_GRAB_OFF;
   203     current_grab_mode = SDL_GRAB_OFF;
   204     cursor_should_be_visible    = YES;
   204     cursor_should_be_visible    = YES;
   205     cursor_visible              = YES;
   205     cursor_visible              = YES;
   206     current_mods = -1;
   206     current_mods = 0;
   207     
   207     
   208     /* register for sleep notifications so wake from sleep generates SDL_VIDEOEXPOSE */
   208     /* register for sleep notifications so wake from sleep generates SDL_VIDEOEXPOSE */
   209     QZ_RegisterForSleepNotifications (this);
   209     QZ_RegisterForSleepNotifications (this);
   210     
   210     
   211     return 0;
   211     return 0;