http://bugs.winehq.org/show_bug.cgi?id=29759
Bug #: 29759 Summary: In exclusive mode/non fullscreen app, moving the cursor can result in resizing window if cursor is "virtually" on an window border Product: Wine Version: 1.4-rc1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: haedri@gmail.com Classification: Unclassified
Created attachment 38639 --> http://bugs.winehq.org/attachment.cgi?id=38639 Attached is a capture when the problem is happening, I just fired after turning right, and the window is now in "resize mode"
Tested on Skulltag 0.98d (windows version), but I guess similar behavior could happen on other windowed app in exclusive mode.
For example, in windowed mode, when I move the mouse to the right (turning the player right) and click (to fire), it will result in the window trying to resize to the right instead of firing, and then doing garbage (firing automatically, that sort of things).
I tested in "Virtual screen" mode of winecfg, I don't know if it happens in non virtual screen mode.
I "guess" this bug is linked to this new feature : "dinput: Clip the mouse to the entire window instead of a 1x1 rectangle in exclusive mode." Maybe the new rectangle should be 1 pixel smaller than the window size in order to avoid system from catching the resize event.
I tried downgrading to the default ubuntu 11.10 version (1.3.28) and the bug disappear.
Attached is a capture when the problem is happening, I just fired after turning right, and the window is now in "resize mode"