Those have nothing at all to do with focus state, they just indicate transactions with no selection or effects.
Transactions act on the state level, and don’t know about the editor focus state, which is associated with a view. View updates can tell you whether the focus changed. Or, if you do need to integrate focus in your state, you can register a focus change effect and listen for transactions that include that.