ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24k stars 1.05k forks source link

5.0.9: Mouse button events are handled even when window is inactive. #3356

Open Meelo opened 4 years ago

Meelo commented 4 years ago

Since 4.11 games are handling all mouse button events while wine window is unfocused or even minimized.

Reproduced so far in: Rocksmith Remastered, Grand Theft Auto 3 and Grand Theft Auto: Vice City

Setup: Proton 4.11-11 Nvidia 1070 GTX, with nvidia-drivers 440-36 Dual monitor. Graphics settings in winecfg has been set to:

[ - ] Automatically capture the mouse in full-screen windows
[ + ] Allow the window manager to decorate the windows
[ + ] Allow the window manager to control the windows
[ + ] Emulate a virtual desktop
Desktop size: 1920 x 1080

These configurations are done to prevent game from minimizing automatically when mouse focus jumps to outside of wine.

I am able to somewhat manage this by sending pause signal (kill -19) to the explorer.exe /desktop process, but it's a terrible cludge. Reverting back to 4.2 is a much nicer solution.

If there is any relevant info, please let me know and I'll supply.

bismurphy commented 4 years ago

Chiming in to add that I'm seeing the same in 5.0-3.

This is particularly frustrating that it also happens with the Steam overlay - pressing shift+tab and clicking anything in that window will also click through into the game.

libcg commented 4 years ago

I've had this problem too and it's incredibly annoying. Still an issue as of 5.0-7.

Meelo commented 4 years ago

Still an issue with 5.0.9 release.