mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-02 17:12:16 +00:00
* Update SDL patch
This commit is contained in:
parent
9d0e643425
commit
d982941849
1 changed files with 3 additions and 4 deletions
|
@ -264,19 +264,18 @@ Index: src/video/windib/SDL_dibevents.c
|
||||||
void DIB_PumpEvents(_THIS)
|
void DIB_PumpEvents(_THIS)
|
||||||
{
|
{
|
||||||
MSG msg;
|
MSG msg;
|
||||||
@@ -271,6 +301,11 @@
|
@@ -271,6 +301,10 @@
|
||||||
DispatchMessage(&msg);
|
DispatchMessage(&msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+ if ( SDL_GetAppState() & (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) ==
|
+ if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) {
|
||||||
+ (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) ) {
|
|
||||||
+ DIB_GenerateMouseMotionEvent( );
|
+ DIB_GenerateMouseMotionEvent( );
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
|
||||||
static HKL hLayoutUS = NULL;
|
static HKL hLayoutUS = NULL;
|
||||||
@@ -494,7 +529,7 @@
|
@@ -494,7 +528,7 @@
|
||||||
Uint16 wchars[2];
|
Uint16 wchars[2];
|
||||||
|
|
||||||
GetKeyboardState(keystate);
|
GetKeyboardState(keystate);
|
||||||
|
|
Loading…
Reference in a new issue