http://bugs.winehq.org/show_bug.cgi?id=6971
--- Comment #446 from Michael Abbott michael@araneidae.co.uk 2011-03-14 11:51:23 CDT --- (In reply to comment #445)
The solution in this case is to only run on a single monitor for now, but I agree, if a fullscreen app has focus, the mouse should not be able to leave that window.
Is it possible with xinput2 to configure the mouse for exclusive capture *when* the application has keyboard focus? Or is this going to require delicate negotiation with the window manager as well? (Am painfully ignorant in this area.)
I think it will be better to implement exclusive mouse event capture rather than trying (and probably failing) to continually warp the mouse into the application window. It would be nice (would presumably require Xserver support) if the mouse stayed inside the window as well, but with exclusive capture of mouse events that would be just a "nice to have", not necessary.
Can someone who understands the underlying API and interactions say what's current possible here? The current patch seems *nearly* there!