src/video/quartz/SDL_QuartzEvents.m
branchSDL-1.2
changeset 6150 5f0b3693ab60
parent 6137 4720145f848b
child 8911 606600f0f6d7
equal deleted inserted replaced
6149:57574a485acb 6150:5f0b3693ab60
   719         /* Update SDL's mouse location */
   719         /* Update SDL's mouse location */
   720         NSPoint p;
   720         NSPoint p;
   721         QZ_GetMouseLocation (this, &p);
   721         QZ_GetMouseLocation (this, &p);
   722         SDL_PrivateMouseMotion (0, 0, p.x, p.y);
   722         SDL_PrivateMouseMotion (0, 0, p.x, p.y);
   723     }
   723     }
       
   724 
       
   725     QZ_UpdateCursor(this);
   724 }
   726 }
   725 
   727 
   726 void QZ_DoDeactivate (_THIS) {
   728 void QZ_DoDeactivate (_THIS) {
   727     
   729     
   728     SDL_PrivateAppActive (0, SDL_APPINPUTFOCUS | SDL_APPMOUSEFOCUS);
   730     SDL_PrivateAppActive (0, SDL_APPINPUTFOCUS | SDL_APPMOUSEFOCUS);