aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-08-31 10:04:28 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-08-31 10:04:28 +0000
commit4efd7abd7ecc7cdf25386959b34c847401a1268b (patch)
treeb6c86bd19db3ffcc292dd9ca4c3974e86f54b2f5 /misc
parent09d43a1e29d1fdbdac0c37e45c014733f7bfb1d6 (diff)
downloadioquake3-aero-4efd7abd7ecc7cdf25386959b34c847401a1268b.tar.gz
ioquake3-aero-4efd7abd7ecc7cdf25386959b34c847401a1268b.zip
* Update SDL patch
git-svn-id: svn://svn.icculus.org/quake3/trunk@1466 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'misc')
-rw-r--r--misc/sdl-win32-mouse-fixes.diff7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/sdl-win32-mouse-fixes.diff b/misc/sdl-win32-mouse-fixes.diff
index 817971e..faec492 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);