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

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 4 11:29:47 CDT 2008


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





--- Comment #171 from Vitaliy Margolen <vitaliy at kievinfo.com>  2008-09-04 11:29:45 ---
(In reply to comment #170)
> Is there a good reason why the mouse should be not be allowed to go off center
> when warping rather than being allowed to the edge of the screen? I can't see
> where it would make a different in first-person views, since the mouse cursor
> is hidden. Are there situations that I may not be taking into account?

See my previous replies. You can't do that without using DXGrab.

If you wait for mouse to be withing 2px of the border before you warp:
1. You will loose part of the long pointer motion (say 100px while pointer is
10px away from the border). This will be felt like "sticking" mouse in action
games.
2. In 99% cases you will loose the pointer itself (it will go off the Wine's
window). This means number of bad things. The biggest one - Wine won't be
receiving any pointer movement events at all. And nothing will be warping that
pointer.
3. You still not solving the problem with "edge-scrolling" used in some games
to scroll screen when you move mouse "past the edge".


-- 
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