diff src/video/wincommon/SDL_sysevents.c @ 13:e30a8ce27c22

Fixed double-mouse event bug on Windows using OpenGL
author Sam Lantinga <slouken@lokigames.com>
date Sun, 29 Apr 2001 23:00:03 +0000
parents cf2af46e9e2a
children 13ee9f4834ea
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysevents.c	Sun Apr 29 22:59:47 2001 +0000
+++ b/src/video/wincommon/SDL_sysevents.c	Sun Apr 29 23:00:03 2001 +0000
@@ -200,7 +200,7 @@
 		case WM_MOUSEMOVE: {
 			
 			/* Mouse is handled by DirectInput when fullscreen */
-			if ( SDL_VideoSurface && ! DIRECTX_FULLSCREEN() ) {
+			if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) {
 				Sint16 x, y;
 
 				/* mouse has entered the window */
@@ -243,7 +243,7 @@
 		case WM_MOUSELEAVE: {
 
 			/* Mouse is handled by DirectInput when fullscreen */
-			if ( SDL_VideoSurface && ! DIRECTX_FULLSCREEN() ) {
+			if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) {
 				/* mouse has left the window */
 				/* or */
 				/* Elvis has left the building! */
@@ -261,7 +261,7 @@
 		case WM_RBUTTONDOWN:
 		case WM_RBUTTONUP: {
 			/* Mouse is handled by DirectInput when fullscreen */
-			if ( SDL_VideoSurface && ! DIRECTX_FULLSCREEN() ) {
+			if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) {
 				Sint16 x, y;
 				Uint8 button, state;