Fixes https://github.com/libsdl-org/SDL/issues/7855 (cherry picked from commit 657c346556f18044dac04957ee7894220e86ac8e)
@@ -288,6 +288,7 @@ static void WIN_WarpMouse(SDL_Window *window, int x, int y)
return;
}
+ WIN_ClientPointFromSDL(window, &x, &y);
pt.x = x;
pt.y = y;
ClientToScreen(hwnd, &pt);