SDL: fixed SdlVideoResizeKeepAspect=y messing up mouse position after restoring app from background

This commit is contained in:
Sergii Pylypenko
2018-09-20 21:01:04 +03:00
parent aa7919811f
commit bef5f545c5
9 changed files with 21 additions and 16 deletions

View File

@@ -78,7 +78,7 @@ extern void SDL_ANDROID_MainThreadPushMouseMotion(int x, int y)
{
SDL_ANDROID_currentMouseX = x;
SDL_ANDROID_currentMouseY = y;
__android_log_print(ANDROID_LOG_INFO, "libSDL", "MainThreadPushMouseMotion: %4d %4d", x, y);
SDL_SendMouseMotion( ANDROID_CurrentWindow, 0, x, y );
}