src/video/windx5/SDL_dx5events.c
changeset 325 1b5457c0a8ad
parent 297 f6ffac90895c
child 327 13fc64213765
equal deleted inserted replaced
324:f25f666d609a 325:1b5457c0a8ad
   296 	Sint16 xrel, yrel;
   296 	Sint16 xrel, yrel;
   297 	Uint8 state;
   297 	Uint8 state;
   298 	Uint8 button;
   298 	Uint8 button;
   299 
   299 
   300 	/* If we are in windowed mode, Windows is taking care of the mouse */
   300 	/* If we are in windowed mode, Windows is taking care of the mouse */
   301 	if ( ! (SDL_PublicSurface->flags & SDL_FULLSCREEN) ) {
   301 	if (  (SDL_PublicSurface->flags & SDL_OPENGL) ||
       
   302 	     !(SDL_PublicSurface->flags & SDL_FULLSCREEN) ) {
   302 		return;
   303 		return;
   303 	}
   304 	}
   304 
   305 
   305 	/* If the mouse was lost, regain some sense of mouse state */
   306 	/* If the mouse was lost, regain some sense of mouse state */
   306 	if ( mouse_lost ) {
   307 	if ( mouse_lost ) {