Just copy and paste this in a cmd line, close the window :
defaults write com.apple.Terminal FocusFollowsMouse -string YES
defaults write com.apple.x11 wm_ffm -bool true