http://bugs.winehq.org/show_bug.cgi?id=6971
--- Comment #213 from Tomasz Sałaciński tsalacinski@gmail.com 2009-01-17 06:40:51 --- (In reply to comment #212)
I think he meant creating a bigger window that is located on -200, 200 and have size of fullscreen width + 200, fullscreen height + 200.
And, you're right and we totally agree - there should be no mouse warping at all. Mouse pointer stay on the edge of the window, but it must give us mouse events - I think this should be done by reading /dev/input/mice or from X mouse driver (if it's possible).
And what with patch from Daniel Scharrer 2009-01-13? Have someone tested it? It seems it doesn't wrap mouse.
And for ppl posting patched that are warping the mouse:
There is no real difference between mouse mode in menu and mouse mode in game (for games like KOTOR, Pariah or Fallout 3).
WINE should NOT warp the mouse, because the mouse will be stuck on the middle of the screen in menu. It should allow mouse pointer to travel across the screen (so it will work in menus) and after reaching edge - pointer should stay there and not move at all, but WINE should get mouse move events. In the menu game will ignore it, but in game (if the game is FPP type) it will just move the character properly (the cursor is hidden so there is no real difference for the user if it stays on the middle or it's on the edge).
The real problem is - how to get mouse stop moving away from the window and read mouse events if it's on the edge of the screen.