"Focus" refers mainly to keyboard focus. "Window focus" is exposed through the window activation and deactivation events.