BodbDearg / PsyDoom

A backport of PSX Doom to PC
GNU General Public License v3.0
404 stars 23 forks source link

Game minimizes when switching tasks (Windows 11) #90

Closed SoddenCub71 closed 1 year ago

SoddenCub71 commented 1 year ago

I have two displays. I'd like to be able to keep the game open in one while doing things in the other. But currently, as soon as I use alt-tab to switch to something on the second screen, the game disappears from the first.

BodbDearg commented 1 year ago

Huh... that's an interesting one - thanks for pointing out. I see it happening on Windows 10 too, might be possibly something to do with the fullscreen exclusive mode.

BodbDearg commented 1 year ago

Confirmed that the game doesn't minimize when the Fullscreen mode is 'windowed borderless' instead of true/exclusive fullscreen. I think PsyDoom needs an option for the fullscreen mode (windowed vs exclusive) - at the minute it is always fully exclusive.

Note: there's already an option for whether the game pauses when it loses focus (under the 'Game' tab) but obviously that won't be of any use to you until the fullscreen mode option implemented. Those two things together should cover this ticket.

BodbDearg commented 1 year ago

Windowed borderless fullscreen mode is now available in 1.1.1 and is the new default fullscreen mode. Combining this with the right setting for the 'pause on focus lost' option should allow you to achieve the desired behavior. Closing out ticket.