[Spice-devel] [PATCH spice-gtk v2] Fix non-tablet non-guest-agent erratic mouse motion
Marie Stephanie Alesna
istephielicious at gmail.com
Sun Oct 1 20:13:44 UTC 2017
We need to compensate the move induced by gdk_device_warp.
We cannot just ignore the next pointer move event as it may include
additional user moves. The fixed issue is most visible over ssh -X.
On Wayland this patch also improves mouse motion as it at least removes
ignoring of each other mouse event.
gdk_display_sync has been removed as I experience no effect of it both before
and after this commit.
Signed-off-by: Marie Stephanie Alesna <istephielicious at gmail.com>
---
src/spice-widget-priv.h | 2 ++
src/spice-widget.c | 27 ++++++++++++++++++++++-----
2 files changed, 24 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-non-tablet-non-guest-agent-erratic-mouse-motion.txt
Type: text/x-patch
Size: 2908 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171001/8a932165/attachment.bin>
More information about the Spice-devel
mailing list