WST_FOCUSED: add new state and handle it.