Starcraft 2 minimizing to desktop

Good morning all,

Been quite a while since I last played starcraft 2 and thought I might play some again. Loaded up the game this morning and she continuously minimizing to desktop every 10-20 seconds. It lags hard then minimizes. What I have done so far is ensure secure boot was on to see if there was any influence, I have updated my 4080 super drivers and I have uninstalled and reinstalled SC2. Seems to take longer to crash when in windowed mode, but alas it still does. I see over the years this has been an issue, but I don’t see an actual solution. Any help would be great. Thanks

is it minimizing, or actually closing the program?

It is just minimizing to desktop. I bring it right back up and it back on lets call it home screen or if I try and start a game, back in game.

there is an option where you can stop having that problem if you actually hit the windows key by accident