On Linux, whenever you hover the mouse over a window, that window has focus. On OS X, you have to click in that window in order for it to gain focus.
Steve Yegge mentioned in a rant[0] a while back.
[0] http://steve-yegge.blogspot.co.uk/2008/04/settling-osx-focus...