src/video/x11/SDL_x11events.c
changeset 1789 01313c1a2bbe
parent 1784 45669d4efd02
child 1792 409974dedf2e
equal deleted inserted replaced
1788:e02263385643 1789:01313c1a2bbe
   289 #endif
   289 #endif
   290 		if ( (xevent.xcrossing.mode != NotifyGrab) &&
   290 		if ( (xevent.xcrossing.mode != NotifyGrab) &&
   291 		     (xevent.xcrossing.mode != NotifyUngrab) ) {
   291 		     (xevent.xcrossing.mode != NotifyUngrab) ) {
   292 			if ( this->input_grab == SDL_GRAB_OFF ) {
   292 			if ( this->input_grab == SDL_GRAB_OFF ) {
   293 				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
   293 				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
   294 			} else {
   294 			}
   295 				posted = SDL_PrivateMouseMotion(0, 0,
   295 			posted = SDL_PrivateMouseMotion(0, 0,
   296 						xevent.xcrossing.x,
   296 					xevent.xcrossing.x,
   297 						xevent.xcrossing.y);
   297 					xevent.xcrossing.y);
   298 			}
       
   299 		}
   298 		}
   300 	    }
   299 	    }
   301 	    break;
   300 	    break;
   302 
   301 
   303 	    /* Losing mouse coverage? */
   302 	    /* Losing mouse coverage? */