protonscr

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

protonopen
ValveSoftware/Proton#3356 · opened 2019-12-24 by Meelo · updated 2020-09-10 · 3 comments · github
MMeelo 2019-12-24 github

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.

Bbismurphy 2020-02-26 github

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.

Llibcg 2020-05-01 github

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

MMeelo 2020-09-10 github

Still an issue with 5.0.9 release.

Proton versions