Steam games crashing when switching workspaces

My question might be too broad right now, but I’m not sure how to start troubleshooting this so I hope I can narrow it down.

I got Steam and started playing games and it’s mostly worked fine. My problem is that if I open up Steam and a game in one workspace and try switching to another workspace, my game will crash every time. I’m good for as long as I stay in the game, but can’t switch.

Has anyone else run into this? Where can I start for figuring this out?