I am doing web development, and I found that I always lose focus on the browser that I am doing development on. I always open other browser windows at the same time for searching, writing, etc. So ...
I'm running Ubuntu 9.04 and I have the window manager configured for "focus follows mouse" but new application windows will steal the focus. Seems like there are many threads out there complaining ...