ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.19k stars 174 forks source link

Incorrect behavior in tiling window managers (i3 bspwm) #11085

Open TAforever opened 1 month ago

TAforever commented 1 month ago

Your system information

Please describe your issue in as much detail as possible:

If you play a game and switch to another workspace, and then back, the focus will be on the Steam client and not the game, and the game will exit fullscreen mode

steam-logs.tar.gz

https://github.com/user-attachments/assets/08d509c5-48e0-46e1-b57f-310eb95cbcce

kisak-valve commented 1 month ago

Hello @TAforever, you've described a game engine specific focus issue with your window manager / desktop environment. The steam client shouldn't be manipulating this.

Report this issue to the game dev(s) and/or your window manager's maintainer(s).

TAforever commented 1 month ago

But this happens with all games I tested Counter-Strike 1.6, War Thunder, World of Tanks Blitz. The problem is not with window managers, it appeared about a month ago after updating the Steam client

TAforever commented 1 month ago

Here are possible related problems https://github.com/ValveSoftware/steam-for-linux/issues/6244 https://github.com/ValveSoftware/steam-for-linux/issues/10806

TAforever commented 1 month ago

I also tested it in awesome wm - the same behavior. If a third-party program should open on the same desktop where Steam is open, then the program does not receive focus when launched, but the Steam client does. This is very strange behavior. The Steam client steals focus from any program opened with it on the same workspace

TAforever commented 2 weeks ago

@kisak-valve I figured out this problem a little bit . In bspwm there is a parameter ignore_ewmh_focus, I set it to true and this problem disappeared, but I don’t know if there is a similar setting in other window managers. It is necessary that the Steam client stop sending window managers a request for EWMH focus because this problem had never occurred before the recent update