[Bug 6971] Mouse "escapes" window or is confined to an area in the full screen program NO HACKS PLEASE

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 14 11:51:24 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=6971

--- Comment #446 from Michael Abbott <michael at 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!

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list