From d982941849b2316196c7da83096a9cf12aee9418 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 31 Aug 2008 10:04:28 +0000 Subject: [PATCH] * Update SDL patch --- misc/sdl-win32-mouse-fixes.diff | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/misc/sdl-win32-mouse-fixes.diff b/misc/sdl-win32-mouse-fixes.diff index 817971ef..faec4927 100644 --- a/misc/sdl-win32-mouse-fixes.diff +++ b/misc/sdl-win32-mouse-fixes.diff @@ -264,19 +264,18 @@ Index: src/video/windib/SDL_dibevents.c void DIB_PumpEvents(_THIS) { MSG msg; -@@ -271,6 +301,11 @@ +@@ -271,6 +301,10 @@ DispatchMessage(&msg); } } + -+ if ( SDL_GetAppState() & (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) == -+ (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) ) { ++ if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) { + DIB_GenerateMouseMotionEvent( ); + } } static HKL hLayoutUS = NULL; -@@ -494,7 +529,7 @@ +@@ -494,7 +528,7 @@ Uint16 wchars[2]; GetKeyboardState(keystate);