Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/video/windib/SDL_dibevents.c
|
@@ -347,7 +347,7 @@ static void DIB_GenerateMouseMotionEvent(_THIS) |
|
|
SetCursorPos(center.x, center.y); |
|
|
posted = SDL_PrivateMouseMotion(0, 1, (Sint16)mouse.x, (Sint16)mouse.y); |
|
|
} |
|
|
} else if ( SDL_GetAppState() & SDL_APPMOUSEFOCUS ) { |
|
|
} else { |
|
|
ScreenToClient(SDL_Window, &mouse); |
|
|
#ifdef SDL_VIDEO_DRIVER_GAPI |
|
|
if (SDL_VideoSurface && this->hidden->gapiInfo) |
|
@@ -368,7 +368,7 @@ void DIB_PumpEvents(_THIS) |
|
|
} |
|
|
} |
|
|
|
|
|
if ( SDL_GetAppState() & SDL_APPINPUTFOCUS ) { |
|
|
if ( SDL_GetAppState() & SDL_APPMOUSEFOCUS ) { |
|
|
DIB_GenerateMouseMotionEvent( this ); |
|
|
} |
|
|
} |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.