On the contrary, the right way is to ask first before making large changes that might not even be wanted. For obvious fixes sure, shoot first. For anything more complex it is inconsiderate to put the maintainer into a position where they have to choose between comprimising their project or hurting your feelings.