How do I adjust a door so it doesn't swing on its own?
Sound as if the door only moderately moves, I typically remove either the top or bottom pin, place it on a flat hard surface, like concrete, whack it with a hammer once or twice, reinsert and door no longer moves.

Easier than rehanging a door, for sure.