This probably is a Win10 bug, introduced with the Fall Creators Update, see Win10 Fall Creators Update breaks Mouse Warping
In short, there is a workaround for SDL2 (that’s in HG, but not part in the last release), as far as I know no workaround has been implemented for SDL1.2 yet.