https://bugs.winehq.org/show_bug.cgi?id=49667
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |o.dierick@piezo-forte.be Ever confirmed|0 |1
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Since a game update of World of Warships to 12.2, it doesn't start with upstream Wine, but starts with Staging (bug 46263). While doing test for this unrelated bug, I experienced the present issue.
The application receive and reacts to mouse events (movement, clicks) even when the window is not focused.
I bisected wine-staging to find the cause of this behaviour and it is in 'user32-rawinput-mouse'. Compiling plain Wine with this patchset triggers the behaviour.
The patchset seems to send events from the desktop. I think the patchset needs to enable/disable sending the raw info from the desktop when the application gets/looses focus.
I'm also using a fullscreen virutal desktop to play the game in. I didn't test the application without a virtual desktop.
The issue can be seen in the gnome shell desktop switching preview. When I hit the shortcut key, the application is reduced in the preview with other windows. If I click anywhere, the application reacts as if I clicked in its window as if it was fullscreen. If in a match, the preview follows the mouse movement even if the window is not focused, and clicking fire the weapon, while the application is in the background or even on another desktop, which result in random shots fired and the inability to do some other task while using the application.
Regards.