src/video/wincommon/SDL_sysevents.c
branchSDL-1.2
changeset 4249 429c8dd3175d
parent 4179 d7294b7c732d
child 4250 c483b474b1cf
equal deleted inserted replaced
4248:a9c6e65c1416 4249:429c8dd3175d
   418 		case WM_XBUTTONDOWN:
   418 		case WM_XBUTTONDOWN:
   419 		case WM_XBUTTONUP: {
   419 		case WM_XBUTTONUP: {
   420 			/* Mouse is handled by DirectInput when fullscreen */
   420 			/* Mouse is handled by DirectInput when fullscreen */
   421 			if ( SDL_VideoSurface && ! DINPUT() ) {
   421 			if ( SDL_VideoSurface && ! DINPUT() ) {
   422 				WORD xbuttonval = 0;
   422 				WORD xbuttonval = 0;
   423 				Sint16 x, y;
       
   424 				Uint8 button, state;
   423 				Uint8 button, state;
   425 
   424 
   426 				/* DJM:
   425 				/* DJM:
   427 				   We want the SDL window to take focus so that
   426 				   We want the SDL window to take focus so that
   428 				   it acts like a normal windows "component"
   427 				   it acts like a normal windows "component"