r1466 - trunk/misc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Aug 31 06:04:28 EDT 2008


Author: tma
Date: 2008-08-31 06:04:28 -0400 (Sun, 31 Aug 2008)
New Revision: 1466

Modified:
   trunk/misc/sdl-win32-mouse-fixes.diff
Log:
* Update SDL patch


Modified: trunk/misc/sdl-win32-mouse-fixes.diff
===================================================================
--- trunk/misc/sdl-win32-mouse-fixes.diff	2008-08-30 22:07:50 UTC (rev 1465)
+++ trunk/misc/sdl-win32-mouse-fixes.diff	2008-08-31 10:04:28 UTC (rev 1466)
@@ -264,19 +264,18 @@
  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);




More information about the quake3-commits mailing list