ValveSoftware / ValveSoftware/Proton

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

Open
#3,356 3 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.