Disable double-click to maximize in OS X Yosemite
While I haven't found a way to turn it off completely, you can make it minimize instead by enabling:


  System Preferences > Dock > Double-click a window's title bar to minimize.