From 1f01eec3a253f8269c892d35c4df74a81b7795c2 Mon Sep 17 00:00:00 2001 From: Quantum Date: Mon, 11 Jan 2021 22:37:23 -0500 Subject: [PATCH] [client] spice/wayland: correctly update guest cursor location --- client/src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main.c b/client/src/main.c index 4db15066..c860c631 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -926,8 +926,8 @@ static void handleMouseWayland() int x, y; cursorToInt(ex, ey, &x, &y); - g_cursor.delta.x += x; - g_cursor.delta.y += y; + g_cursor.guest.x += x; + g_cursor.guest.y += y; if (!spice_mouse_motion(x, y)) DEBUG_ERROR("failed to send mouse motion message");