The method is very simple and consists of manually editing the cs2_video.txt file located in the system folders of Steam. You need to temporarily change the config version and disable the parameter responsible for window behavior when focus is lost. After you launch the game, the settings will apply, and then you will need to revert everything back.

To get started, you need to navigate to the directory where user data is stored. Go to the local disk C, or the disk where the Steam folder is located, open the Steam folder, and then find the userdata directory.

If you buy accounts with games and you have several of them, the following algorithm will help you find the correct folder:

  • Go to the website steamid.xyz
  • Paste the link to your profile
  • Copy the generated SteamID32
  • Open the folder whose name matches this number
  • In the profile directory, open these folders: folder 730, then local, and cfg. Here you will find the cs2_video.txt file, open it using any text editor, for example Notepad.

Make the following changes to the code:

  • Find the line "version" and change the value "16" to "15"
  • Find the parameter "setting.fullscreen_min_on_focus_loss" and change the number "1" to "0"
  • Save the changes and launch CS2.
  • Wait for the main menu to fully load, then close the game. The system will apply the new fullscreen processing parameters.

Final Step:

  • Open the cs2_video.txt file
  • Return the "version" parameter back to "16"
  • Save the document

That's it! Great job everything worked! Now, when you switch between tasks and the game, it will happen instantly, and the game will no longer ignore important display settings.