We present numerical simulations optimizing the layer shapes of curved focusing x-ray multilayer mirrors deployed at synchrotron radiation facilities using a wave-optical model. The confocal elliptical shapes of the inner layers are corrected for refraction based on the modified Bragg law. Simulated wave amplitudes are further propagated to the focal region, promising nanometer focusing.