Discord App overlay overshadows my Game app launched from Steam

Godot Version

4.3.Stable

Question

Just released a Demo for Steam Next Fest.
And there is problem. Discord App “eats” inputs from the Game. I have to Alt+Tab to bring game back to focus of the system. Closing Discord solves the problem, but it’s not like I can ask players to do it.
Anyone knows how to fix it?

So I came up with a solution… Pretty invasive, let me know if it’s a bad idea.
So the game keeps checking if the game window has focus, and if not grabs it.
if !get_window().has_focus(): get_window().grab_focus()

But if “Alt” is pressed, it doesn’t grab it. So the game window never loses focus unless the player presses “Alt”, for Alt+Tab.

I hate Discord for making me do this…