[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
Sun Dec 6 20:07:14 CST 2009


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





--- Comment #280 from Rob Whalley <mail at robwhalley.co.uk>  2009-12-06 20:07:13 ---
Ok, even though I can't claim to understand quite how the two patches works,
I've created a new version of the patch
http://bugs.winehq.org/attachment.cgi?id=21554 that should work on 1.1.34.

It incorporates elements from both patches, but I don't think that it will
reproduce the behaviour of the force-box patch (someone with a better
understanding would need to take a look!) - it would be nice if we could
combine the two.

Tested patch and confirmed behaviour from 21554 patch restored - I now have a
working mouse in Mass Effect! :)

Under /home/$USERNAME/.wine/user.reg, following settings did not reproduce the
restricted mouse movement, so guessing it now ignores "force-box":

[Software\\Wine\\DirectInput] 1258814435
"MouseWarpOverride"="force-box"
"BoxPixels"="10"

Basic howto (as root) - you can see I've made the patch against the bz2 file
from sourceforge rather than from git:

wget http://downloads.sourceforge.net/project/wine/Source/wine-1.1.34.tar.bz2
tar xjvf wine-1.1.34.tar.bz2
cd wine-1.1.34
wget http://bugs.winehq.org/attachment.cgi?id=25097 -O mousewarp-1.1.34.patch
#Download other patches you may want at this point
patch -p1 < mousewarp-1.1.34.patch
autoreconf
./configure
make depend && make
make install

To run Mass Effect from Steam, I use: 
WINEFORCEMOUSEWARP=yes wine "C:\Program Files\Steam\steam.exe"

Then I start it up from the My Games list.

Hope this helps someone. Apologies for not being clearer, it's late and I need
sleep! ;)

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