mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-25 23:13:39 +00:00
[client] spice: do not warp host cursor if guest cursor is not visible
This avoids warping the host cursor when the guest-side warp has not finished, which will result in the host cursor exiting at the wrong position if it exits at that moment.
This commit is contained in:
parent
11a661ce3a
commit
c0fa6c414c
@ -320,7 +320,7 @@ void core_handleGuestMouseUpdate(void)
|
||||
if (!util_guestCurToLocal(&localPos))
|
||||
return;
|
||||
|
||||
if (g_state.overlayInput)
|
||||
if (g_state.overlayInput || !g_cursor.inView)
|
||||
return;
|
||||
|
||||
g_state.ds->guestPointerUpdated(
|
||||
|
Loading…
Reference in New Issue
Block a user