[Bug 45595] mouse wrapping doesn't work when the window is partially outside of the physical screen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 7 06:43:14 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45595

--- Comment #1 from Marc-Andre Lureau <marcandre.lureau at gmail.com> 2012-02-07 06:43:14 PST ---
Created attachment 56711
  --> https://bugs.freedesktop.org/attachment.cgi?id=56711
widget: fix mouse wrapping failing when the window is outside

Use a anchor mouse position after every move, similar to spicec to
avoid reaching transparent border on the screen.

We try to move to the center of the screen, but
gdk_display_warp_pointer () will move the cursor within the grabbed
window (so it still receives mouse events even on Windows)

Tested with Linux and Windows clients.

Fixes bug:

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the spice-bugs mailing list