If there's no any problem with absent window activation on focus, then I suggest to follow Robert suggestion from comment #23.
If there's no any problem with absent window activation on focus, then I suggest to follow Robert suggestion from comment #23.