http://bugs.winehq.org/show_bug.cgi?id=26417
Summary: Starcraft 2 - DirectX Mouse Capture broken (fullscreen and windowed) Product: Wine Version: 1.3.15 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mizzao@gmail.com
When playing starcraft 2, mouse capture seems to be broken in both windowed and fullscreen mode. Mouse capture is important in SC2 because moving the mouse to the border scrolls the screen. This seems to stem from two separate problems.
Windowed mode: Since SC2 gives you more relative viewing area when running in widescreen mode, I tried running in a widescreen window in my fullscreen monitor. However, I can't get the mouse to stay inside the screen while playing, either with the default mouse capture setting, or setting wine to emulate a virtual desktop and using fullscreen mode in SC2.
Fullscreen mode: When using dual-head mode (Twinview on nvidia), and playing SC2 at the native resolution of one of my monitors, the mouse doesn't stay on that monitor. It still jumps over to the other monitor, whichever side it's attached to. This is annoying, but not as bad as the first case, since the mouse is captured on 3 sides.)
The mouse works fine when running in one monitor in fullscreen mode, which is the only way to play at the moment.
To reproduce: run SC2 in windowed mode, or in fullscreen mode with emulate virtual desktop, or fullscreen mode with multiple monitors. Might be problem with the DirectInput emulation but I specified unknown since I'm not sure.