The scenario is as follows:
I run XCOM or XCOM 2 (the problem occurs for both). I do a task change to Windows and start another game (i.e. leave XCOM running in the background), say Heroes of the Storm (HotS). Whenever I have an extended waiting period in the other game, I'd switch back to XCOM and continue there.
This worked perfectly for some games (e.g. Battle Worlds: Kronos) but when running XCOM this has some severe disadvantages. I'm playing on my main screen (right side) and have another secondary screen set up on the left side - just showing windows desktop.
The mouse cursor doesn't stay in the HotS window. So whenever I hit the left side of my main screen and accidentally click, I'll switch to Windows. The mouse cursor isn't bound to the game's screen.
As said: this problem occurs specifically for XCOM / XCOM 2 and is not universal (although I can't say for sure it only happens for XCOM). Does anyone have a solution for this behavior? I want to keep running XCOM in the background while playing HotS and still keep focus only in HotS.