mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] spice/wayland: correctly update guest cursor location
This commit is contained in:
parent
24a4de6d65
commit
1f01eec3a2
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user