[Bug 16567] moving mouse outside the wine virtual desktop causes crash in FastBltNoTrans()
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jan 15 13:31:56 CST 2010
http://bugs.winehq.org/show_bug.cgi?id=16567
Lauri Kenttä <lauri.kentta at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lauri.kentta at gmail.com
--- Comment #6 from Lauri Kenttä <lauri.kentta at gmail.com> 2010-01-15 13:31:55 ---
I've not seen this crash, but it's no wonder if some games crash when the mouse
position goes negative.
There's a related problem with border scrolling. Many games check for mouse
coordinates to detect screen edges (left: x=0; top: y=0; right: x=w-1; bottom:
y=h-1). Scrolling is next to impossible, because the "screen edge" is one pixel
wide.
It would be great if the mouse position was snapped to the desktop edge, like
so:
x = max(0, min(x, w - 1));
y = max(0, min(y, h - 1));
If the current behaviour is useful or necessary for some applications, this
should probably be configurable in the registry. Or this could depend on
whether there's a full-screen application on the virtual desktop; I'm quite
sure they don't expect the mouse to leave the application window.
--
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