http://bugs.winehq.org/show_bug.cgi?id=60290 --- Comment #5 from Béla Gyebrószki <gyebro69@gmail.com> --- (In reply to Rémi Bernon from comment #4)
Created attachment 82035 [details] Fix
Looks like things are badly broken indeed... multiple threads listening to raw events at the same time, which wasn't immediately apparent with raw input but it got even worse with buttons.
I think the attached patch should help, it seems to fix the double clicks in SWKOTOR for me at least, not sure about the other games which I haven't tried (yet). I tested the proposed patch with Wine 11.17 under XFCE/X11 on all six affected games. In normal fullscreen mode the patch fixes the mouse button regression in all six games. There is still one remaining issue with Blades of Time, but only when using Wine virtual desktop mode: If I start the Steam client inside the virtual desktop and then launch Blades of Time from Steam, the original problem is still present initially: a left click by itself does not activate menu items, and I have to hold the right mouse button while clicking the left button. However, if I Alt-Tab away from the game to the terminal and then Alt-Tab back to the game, normal single left-clicking starts working correctly and remains fixed (until restarting the game).
The same behavior is reproducible with the Blades of Time demo when launched through Steam. So the patch completely fixes the issue in fullscreen mode for all six games, but Blades of Time still seems to hit a focus/raw-input initialization issue when first launched from Steam inside a Wine virtual desktop. An Alt-Tab focus cycle fixes it for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.