https://bugs.winehq.org/show_bug.cgi?id=43723
Bug ID: 43723 Summary: Unreliable mouse grabbing in dinput Product: Wine Version: 2.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput Assignee: wine-bugs@winehq.org Reporter: lachs0r@srsfckn.biz Distribution: SUSE
This issue mostly affects games based on Unreal Engine 3.
Mouse grabbing does not work reliably in those games. In some titles (e.g. Mirror’s Edge), it is possible to get the mouse to grab by switching to fullscreen and back using window manager shortcuts *before* starting a game (exiting the menu). In other titles (e.g. Rainbow Six: Vegas 2), this does not work.
The usual hacks (MouseWarpOverride=force, or the force_edge variant of it) break mouse input in menus and cause very juddery (unplayable) input in-game.
However, disabling window manager control in winecfg makes it work as expected.
I am unsure which Wine component really is affected here so I selected dinput.
#6971 is a semi-related bug, but I reckon the cause is very different in this case.
This issue can be reproduced with at least i3 and KWin, so I assume it is not a WM bug.