gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

wlserver_open_steam_menu no longer works

Open antheas opened this issue 1 year ago • 0 comments

Hi, the aforementioned function (wlserver_open_steam_menu) has stopped working, and we rely on its functionality to open the steam QAM on third party distros and handhelds (esp. gestures on tablets), since steam either requires ctrl + 1/2 or a controller with xbox/xbox+a to open the menus.

https://github.com/ValveSoftware/gamescope/blob/09cb7b451d8825e597d15ab9d30e43aee8418670/src/wlserver.cpp#L392-L405

After this commit, steam has stopped listening to xwayland events about button presses in general when it is in the background, which affects that function or using the xwayland 0 instance to emulate that function. https://github.com/ValveSoftware/gamescope/commit/83fdf46c616f48478f1888f585d695a5939dc274

ctrl+1/2 only work when steam is in the foreground as you know and not in game. Therefore, wlserver_key or libei can not be used as a replacement.

Can you look into restoring this functionality?

EDIT: this function works when steam is in the foreground. It is broken when in game.

antheas avatar Jun 06 '24 16:06 antheas