How to change zoom/"green button" behaviour
Hold down Option key and click the Green button. It will change from the Full Screen button back to a Zoom button.

You can also double-click the empty area in the window frame (title bar) if you don’t have it set to minimize when double-clicking.

However, this soft can help you : https://www.macupdate.com/app/mac/30591/right-zoom

Apple Support