[Bug 6971] Mouse "escapes" window or is confined to an area in the full screen program

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 17 06:40:56 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=6971





--- Comment #213 from Tomasz Sałaciński <tsalacinski at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list