ValveSoftware / ValveSoftware/Proton
5.0.9: Mouse button events are handled even when window is inactive.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 32.8k
- Forks
- 1.6k
- PR merge metrics
- PR metrics pending
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file, test, or entry point. Start by reproducing the behavior with Proton 4.11-11, the listed window settings, and one of the affected games, then trace mouse-button handling when the window is unfocused or minimized. Done means inactive windows no longer receive those events while normal focused input still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, game-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100