How do I change the Godot editor so that it doesn't always jump to where the cursor is when re-focusing the window?
That really sounds like an window manager thing, not a godot issue.
I had similar issues with other programs. In my case it was PersistentWindows, which I use to make sure that the windows I open keep their position even when I disconnect my second monitor.