Re: Stolen Focus
Running it seamless? You might want to give this a try https://support.citrix.com/article/CTX140095/
My guess is you won't run into the problem if it isn't a seamless session. That is, provided it is the problem I think it is.
Also, I've seen these reg-settings help out:
HKCU\Control Panel\Desktop\ForegroundFlashCount - REG_DWORD - 0
HKCU\Control Panel\Desktop\ForegroundLockTimeout - REG_DWORD - 0
There's also a whole range of problems with some of the semi-new receiver versions. Either stick with the old ones (around 12.x) or the newer ones (from 4.6 and onwards).