I can make an issue for wine, also. I'm not sure how to push these changes through, though. I'm still digging into code.
It could fix some game issues maybe like Bejeweled Twist
It could also allow one to run games that require wine-staging, while still having them report to Steam itself. It appears it probably also requires the winebus system object to interface with... dbus?
Wine is definitely not going to be interested in hacks like this. I suggest pulling your desired changes into Proton's Wine and building that, rather than the other way around.
@aeikum I'm not following exactly where the issue with the dll being brought into WINE is. Can you explain?
The code block I posted is just how the dll is built currently inside this Proton repository, and is already being built here. I am not proposing any new changes other than suggesting to not build the steam integration dll and have it be able to be natively supported in wine somehow.
Nevermind. I think I get what you mean. I'll propose bringing this DLL compiling into at least Valve's version of wine. Might make getting it into other tooling easier.
lsteamclient.dllx1 2018-08
If I am reading this right, these are the changes that is allowing WINE to report it is running a steam game back to steam. It would be awesome if this was integrated upstream so Pull requests like #697 could go through without much complex consideration.