https://bugs.winehq.org/show_bug.cgi?id=39726
Bug ID: 39726 Summary: WarCraft 3 mouse can't move out virtual desktop Product: Wine Version: 1.8-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gamiljydcome@gmail.com Distribution: ---
WarCraft3 works fine both with fullscreen and windowed mode usging wine 1.8.rc1. If i set virtual screen mode, mouse can not move out virtual screen and enter alt+tab mouse gone(get back game mouse still working).
I want mouse could move in/out virtual desktop just like StarSraft and other games. Is there anyway to fix this?
PS. i also traced dinput/device.c IDirectInputDevice2WImpl_SetCooperativeLevel, but it seems the game do not call this funuction.
https://bugs.winehq.org/show_bug.cgi?id=39726
--- Comment #1 from gamiljydcome@gmail.com --- This bug is Closed.
I commented statement 'else if (grab_clipping_window( clip )) return TRUE;' from function X11DRV_ClipCursor in winex11.drv/mouse.c, now mouse can move in/out virtual desktop when i play this game, unless force enable grab mouse by winecfg.
Maybe this is a problem should make some fix. Why? To app virtual desktop is fullscreen mode, to me it's a WINDOW app. I don't want mouse locked in unless force enabled. Just mouse can move in/out freelly, alt+tab not needed.
https://bugs.winehq.org/show_bug.cgi?id=39726
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Clipping can be disabled by setting "GrabPointer"="N" in HKCU\Software\Wine\X11 Driver.
https://bugs.winehq.org/show_bug.cgi?id=39726
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |-unknown
https://bugs.winehq.org/show_bug.cgi?id=39726
--- Comment #3 from gamiljydcome@gmail.com --- (In reply to Alexandre Julliard from comment #2)
Clipping can be disabled by setting "GrabPointer"="N" in HKCU\Software\Wine\X11 Driver.
Thanks for reply.
RegKey GrabPointer works, but select grab mouse by winecfg don't work too. My suggestion is: wine default disable grab mouse in virtual desktop, if user really need grab mouse just enable it by winecfg, so just need one regkey GrabFullscreen. This way is much more clearlly and simpler to an enduser who don't care about too much stuff.
https://bugs.winehq.org/show_bug.cgi?id=39726
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Disabling it by default would make many games unusable in a virtual desktop. The current defaults are what most users need.
https://bugs.winehq.org/show_bug.cgi?id=39726
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- Closing.