protonscr

Games get alt-tabbed whenever i receive a notification on Steam

steamclosed Steam clientWindow manager
ValveSoftware/steam-for-linux#6450 · opened 2019-08-13 by Adenis890 · updated 2020-02-16 · 7 comments · github
AAdenis890 2019-08-13 github

Your system information

  • Steam client version (build number or date): Aug 12, 2019 at 23:59:12
  • Distribution (e.g. Ubuntu): Ubuntu 19.04
  • Opted into Steam client beta?: [Yes/No] Yes
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

Hi,
Whenever i get a notification on steam my games Alt-Tab. It's really annoying especially when you are in a comp match on CSGO. I tried finding a solution but nothing so i decided to post this here because maybe there is a bug.

Steps for reproducing this issue:

  1. Be in a game
  2. Get a notification
  3. Game will alt-tab
Kkisak-valve maintainer 2019-08-13 github

~Hello @Adenis890, this issue is already being tracked at #5286. Closing as a duplicate.~

Kkisak-valve maintainer 2019-08-13 github

Whoops, while possibly related to that issue, it isn't a complete match.

For SDL2 games, running Steam with SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 steam or adding SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command% to the game's launch options should help mitigate the symptom you're seeing.

NNewbytee 2019-08-13 github

I have had this occur on Fedora too. I think it might be a GNOME issue.

AAdenis890 2019-08-13 github

Whoops, while possibly related to that issue, it isn't a complete match.

For SDL2 games, running Steam with SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 steam or adding SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command% to the game's launch options should help mitigate the symptom you're seeing.

So these launch options are only for non Native Linux games.

NNewbytee 2019-08-13 github

Whoops, while possibly related to that issue, it isn't a complete match.
For SDL2 games, running Steam with SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 steam or adding SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command% to the game's launch options should help mitigate the symptom you're seeing.

So these launch options are only for non Native Linux games.

They should work with any game that uses SDL2, which includes both native and non-native games. In the case of CS:GO, I'm not sure whether it uses SDL2.

BBodyash 2019-08-14 github

Arch linux + Gnome desktop
same issue with Dota

whenever i receive a message from friend - game is minimized
but only if chat window was closed, so i just keeping it opened and minimized

NNewbytee 2020-02-16 github

@Adenis890 Why did you close this?