Any permanent fix to this?
All my Windows 10 machines (with ESET installed) have been doing this for weeks. Only today, did I found out what's causing it. I used Window Focus Logger (hxxp://www.adminscope.com/downloads/window-focus-logger-gui/) to finally weed out "egui" as the process stealing my keyboard/mouse focus.
The workaround, which is to keep the ESET console app open as a window and not minimized in the system tray, seems to do the trick. But I think it's only fair to ask for a more proper fix for this.
I'm running ESET Internet Security 12.1.34.0
UPDATE:
Here's an update about the issue that I just noticed. Perhaps it may help to zero in on the problem.
If ESET-IS is left open on the system taskbar, no matter where it resides in the Z-order, this problem does not occur. Only when ESET-IS is 'closed' or minimized to the system tray (i.e. ESET-IS is running in the background, parked in the system tray) does the hijacking focus problem occur.