You can do it for Terminal.app by issuing the following command at the command line:
defaults write com.apple.Terminal FocusFollowsMouse -bool true
For X11 apps you can do this:
defaults write com.apple.x11 wm_ffm -bool true
In Snow Leopard, use this instead:
defaults write org.x.X11 wm_ffm -bool true
Apparently there's a program called CodeTek Virtual Desktop that'll emulate it systemwide, but it costs $$ (and they never got a version out for OSX Leopard).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…