Please Fix:"Allow DirectX apps to stop the mouse leavin

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
JeZ-l-Lee
Level 4
Level 4
Posts: 122
Joined: Mon Jun 29, 2009 7:12 pm

Please Fix:"Allow DirectX apps to stop the mouse leavin

Post by JeZ-l-Lee »

Please Fix:"Allow DirectX apps to stop the mouse leaving their window"

Hi,

Can you fix the option:
"Allow DirectX apps to stop the mouse leaving their window" ?

There are MANY games I can't play
because the above option does not work.

Thanks!

Jesse "JeZ+Lee"
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Please Fix:"Allow DirectX apps to stop the mouse le

Post by vitamin »

JeZ-l-Lee wrote:Please Fix:"Allow DirectX apps to stop the mouse leaving their window"
Good luck with that. It never really worked. Ever, not counting a special kind of DDraw games (haven't seen a single one yet, but the code is there...).

AJ stated that until Wine will be stable enough it should never completely grab mouse/keyboard input. You'll need to reboot/power off/remotely kill Wine if it crashes while grabbing controls.
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

A long, long time ago the code worked when we were using Transgaming their old DirectDraw code, but we dropped their DirectDraw code years ago. This old piece of code which can't be entered anymore just waits to be removed....
winefan62
Level 2
Level 2
Posts: 30
Joined: Sun Nov 07, 2010 1:29 pm

Post by winefan62 »

Currently the only working "fix" is Xinput2 patch from Bug#6971, it work very good, not perfect since it cause "double mouse in menu" bug for some games, mainly Accassin's Creed games.

I don't know why it's still not commited in wine because this patch is mandatory for MANY (if not all) modern games.

DanKegel said Ubuntu repository will soon provide wine packages patched with this fix.

If you can't wait, just download latest unstable wine sources and apply this patch yourself, it's easy and you can use this wine build as your "system" one.

Regards,

WineFan62
tparker
Level 5
Level 5
Posts: 354
Joined: Tue Feb 24, 2009 3:06 pm

Please Fix:"Allow DirectX apps to stop the mouse leavin

Post by tparker »

On 04/03/2011 05:20 AM, winefan62 wrote:
Currently the only working "fix" is Xinput2 patch from Bug#6971, it work very good, not perfect since it cause "double mouse in menu" bug for some games, mainly Accassin's Creed games.

I don't know why it's still not commited in wine because this patch is mandatory for MANY (if not all) modern games.
Good luck if it's something you need, but I very much hope it is an
option and can be easily turned off. None of the games I play require it
and -not- having DirectX trap my mouse in the window is one of my
favorite things about gaming in Linux. I have had Windows gamers make
jealous comments about it even. :)
Locked