tehforum
February 10th, 2009, 05:43 PM
Hello,
I have a big problem when it comes to playing XIII (a game). The mouse does not want to move much in full screen mode. I searched (yes I did), and I found several other games are affected by this.
Here (http://appdb.winehq.org/objectManager.php?sClass=version&iId=7119) is the wineHQ page for the game.
And THIS (http://bugs.winehq.org/show_bug.cgi?id=6971#c26) comment has a "hack" so to speak, to fix my problem.
This hack forces Wine to use mouse warping even if the cooperation level does
not include DISCL_EXCLUSIVE.
It's certainly NOT a permanent solution and is meant for testing only.
This patch enables mouse in the Raven Shield menu while the real implementation
is on the way.
The mission briefing menu however has a strange drawing bug so I had to guess
where to click START.
I don't know how this affects other applications.
And this is the attachment.
--- dlls/dinput/mouse.c.orig 2007-08-25 00:00:00.000000000 +0300
+++ dlls/dinput/mouse.c 2007-08-25 00:00:15.000000000 +0300
@@ -293,7 +293,7 @@
wdata = pt1.y;
}
- This->need_warp = (pt.x || pt.y) && dwCoop & DISCL_EXCLUSIVE;
+ This->need_warp = (pt.x || pt.y);
break;
}
case WM_MOUSEWHEEL:
I would like to know if there are any other fixes for this problem, or how to apply the patch above so my problem can be fixed.
The only problem is that WINE has gone a lot further than in 2007, so I'm not sure whether the patch will work.
Any help is appreciated! :D
Thank you.
I have a big problem when it comes to playing XIII (a game). The mouse does not want to move much in full screen mode. I searched (yes I did), and I found several other games are affected by this.
Here (http://appdb.winehq.org/objectManager.php?sClass=version&iId=7119) is the wineHQ page for the game.
And THIS (http://bugs.winehq.org/show_bug.cgi?id=6971#c26) comment has a "hack" so to speak, to fix my problem.
This hack forces Wine to use mouse warping even if the cooperation level does
not include DISCL_EXCLUSIVE.
It's certainly NOT a permanent solution and is meant for testing only.
This patch enables mouse in the Raven Shield menu while the real implementation
is on the way.
The mission briefing menu however has a strange drawing bug so I had to guess
where to click START.
I don't know how this affects other applications.
And this is the attachment.
--- dlls/dinput/mouse.c.orig 2007-08-25 00:00:00.000000000 +0300
+++ dlls/dinput/mouse.c 2007-08-25 00:00:15.000000000 +0300
@@ -293,7 +293,7 @@
wdata = pt1.y;
}
- This->need_warp = (pt.x || pt.y) && dwCoop & DISCL_EXCLUSIVE;
+ This->need_warp = (pt.x || pt.y);
break;
}
case WM_MOUSEWHEEL:
I would like to know if there are any other fixes for this problem, or how to apply the patch above so my problem can be fixed.
The only problem is that WINE has gone a lot further than in 2007, so I'm not sure whether the patch will work.
Any help is appreciated! :D
Thank you.