1. if the window gets deselected, an other window gets selected. Is it always the same one? One that gets automatic refreshes in background?
2. does it happen with a special key stroke? then it might be your keyboard
1. Any window gets deselected. microsoft word... or google chrome etc
2. I'm fairly sure it's not any keystroke; If I leave the computer alone, it deselects itself