I am trying to play a game that doesn't have a borderless window mode, and I don't want to use the normal windowed mode on the game.
I use two monitors, one as a large main monitor, and one as something to keep track of chats, wikis, and the like. Most games I play have an option to keep the full-screen game on top (borderless window mode) while I play, but, for the games that don't have this feature, it can be pretty frustrating.
Is there any way to force the game to stay maximized if I click on my second monitor?
Many games can be set to "borderless window", "windowed borderless" or something similar in the graphics settings. After you set it, the game will still be using the entire screen, but it will be considered a regular window by the OS. I think this can prevent the game being minimized when you click in the second screen.
Add the following line:
to the file /etc/environment and reboot after that.