defaults write com.apple.WindowManager EnableTilingByEdgeDrag -int 0;

To enable it again:

defaults write com.apple.WindowManager EnableTilingByEdgeDrag -int 1;