For whatever reason, OS X does work that way for scrolling; while typing this comment I can point at and scroll the window behind this one. Not sure why typing doesn't behave the same, though.
I have to say I like OS X's behavior much much more. Directing key strokes to a window that my mouse just happens to point to would be very confusing (to me at least).