Serious issue of game automatically changing my display option

First of all, I had this issue for months yet I have not realized what was causing it.
Because this always made me “lag” in game, and caused the frame rate to drop down. I always it was my latency issue, and the game handles the latency issue differently than other games (And I’ll explain another major reason later on why I thought it was latency issue all along).

Just like any smart guy should have done all along (Not me, apparently) I decided to check the game log folder for Heroes of the Storm after a game that made me so fed up with the issue. And this is what I see

GFX 20:20:55.139 Focus Event. Changing to fullscreen.
GFX 20:21:33.991 Focus Event. Changing to windowed.
GFX 20:22:10.765 Focus Event. Changing to fullscreen.
GFX 20:22:12.444 Focus Event. Changing to windowed.
GFX 20:23:07.723 Focus Event. Changing to fullscreen.
GFX 20:23:12.950 Focus Event. Changing to windowed.
GFX 20:23:43.556 Focus Event. Changing to fullscreen.
GFX 20:30:35.638 Focus Event. Changing to windowed.
GFX 20:30:46.917 Focus Event. Changing to fullscreen.
GFX 20:35:40.710 Focus Event. Changing to windowed.
GFX 20:35:56.499 Focus Event. Changing to fullscreen.
GFX 20:37:27.003 Focus Event. Changing to windowed.
GFX 20:37:49.964 Focus Event. Changing to fullscreen.
GFX 20:37:50.506 Focus Event. Changing to windowed.
GFX 20:37:51.319 Focus Event. Changing to fullscreen.
GFX 20:37:51.881 Focus Event. Changing to windowed.
GFX 20:38:00.300 Focus Event. Changing to fullscreen.
GFX 20:38:01.721 Focus Event. Changing to windowed.
GFX 20:38:10.214 Focus Event. Changing to fullscreen.
GFX 20:38:17.672 Focus Event. Changing to windowed.
GFX 20:38:19.802 Focus Event. Changing to fullscreen.
GFX 20:38:29.377 Focus Event. Changing to fullscreen.
GFX 20:38:31.822 Focus Event. Changing to windowed.
GFX 20:38:51.460 Focus Event. Changing to fullscreen.
GFX 20:38:51.868 Focus Event. Changing to windowed.
GFX 20:38:54.502 Focus Event. Changing to fullscreen.
GFX 20:38:55.048 Focus Event. Changing to windowed.
GFX 20:39:07.921 Focus Event. Changing to fullscreen.
GFX 20:39:25.682 Focus Event. Changing to windowed.
GFX 20:40:03.826 Focus Event. Changing to fullscreen.
GFX 20:47:24.273 Focus Event. Changing to windowed.
GFX 20:47:44.878 Focus Event. Changing to fullscreen.
GFX 20:51:05.199 Focus Event. Changing to windowed.
GFX 20:51:15.766 Focus Event. Changing to fullscreen.
GFX 21:00:44.211 Focus Event. Changing to windowed.
GFX 21:00:50.976 Focus Event. Changing to fullscreen.
GFX 21:03:43.474 Focus Event. Changing to windowed.
GFX 21:04:06.599 Focus Event. Changing to fullscreen.
GFX 21:04:07.465 Focus Event. Changing to windowed.
GFX 21:04:44.208 Focus Event. Changing to fullscreen.
GFX 21:05:21.295 Focus Event. Changing to windowed.
GFX 21:05:35.444 Focus Event. Changing to fullscreen.
GFX 21:16:45.561 Focus Event. Changing to windowed.
GFX 21:17:12.225 Focus Event. Changing to fullscreen.
GFX 21:17:17.832 Focus Event. Changing to windowed.
GFX 21:17:29.818 Focus Event. Changing to fullscreen.
GFX 21:19:08.685 Focus Event. Changing to windowed.
GFX 21:19:33.256 Focus Event. Changing to fullscreen.
GFX 21:19:36.192 Focus Event. Changing to windowed.
GFX 21:19:47.431 Focus Event. Changing to fullscreen.
GFX 21:20:01.454 Focus Event. Changing to windowed.
GFX 21:20:03.660 Focus Event. Changing to fullscreen.
GFX 21:20:37.284 Focus Event. Changing to windowed.
GFX 21:20:57.219 Focus Event. Changing to fullscreen.
GFX 21:21:40.915 Focus Event. Changing to windowed.
GFX 21:22:02.282 Focus Event. Changing to fullscreen.
GFX 21:22:04.216 Focus Event. Changing to windowed.
GFX 21:22:20.913 Focus Event. Changing to fullscreen.
GFX 21:24:23.337 Focus Event. Changing to windowed.
GFX 21:24:32.158 Focus Event. Changing to fullscreen.
GFX 21:24:33.138 Focus Event. Changing to windowed.
GFX 21:24:40.050 Focus Event. Changing to fullscreen.
GFX 21:24:43.655 Focus Event. Changing to windowed.
GFX 21:24:54.128 Focus Event. Changing to fullscreen.
GFX 21:25:58.094 Focus Event. Changing to windowed.
GFX 21:26:02.628 Focus Event. Changing to fullscreen.
GFX 21:26:03.133 Focus Event. Changing to windowed.
GFX 21:26:14.956 Focus Event. Changing to fullscreen.
GFX 21:26:16.967 Focus Event. Changing to windowed.
GFX 21:26:38.235 Focus Event. Changing to fullscreen.
GFX 21:27:17.804 Focus Event. Changing to windowed.
GFX 21:27:42.789 Focus Event. Changing to fullscreen.
GFX 21:27:46.375 Focus Event. Changing to windowed.
GFX 21:27:56.930 Focus Event. Changing to fullscreen.

What.the.heck

I assume that this is only happening due to a certain spec that I am running my computer on.
I always game on Borderless mode, but I guess one day it decided to change itself to Fullscreen mode by default and it’s been doing this shinanigan all along.
And while it’s changing the display setting randomly on me, the game sometimes kicks me out of the game for seconds, and reconnect me as if I disconnected from lag (This is the reason why I thought it was a latency issue)

And after discovering this, to confirm my theory on the unbearable lag, I played another game in Borderless Mode, this is the result

GFX 21:35:15.399 Focus Event. Changing to fullscreen.
GFX 21:35:24.609 Setting up swap chain.
GFX 21:35:24.609 Windowed mode.
GFX 21:35:24.635 Setting up swap chain.
GFX 21:35:24.635 Windowed mode.

It tried to change it to Fullscreen AGAIN. And changed it to Windowed mode couple of times on me, and I did experience exactly two lags while I played that much, but significantly less than before.

Blizzard, please have an explanation for this bizarre bug.

Hey Kapulim,

At first glance, it appears like some third party program is trying to steal focus while you are playing, most commonly in-game overlays from third parties.

However, if you mind posting over on the Technical Support Forum they might be able to help in more detail!

Thanks for the report!
Huginncord