mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] core: dont warp the cursor if the overlay is active
This commit is contained in:
parent
127d3acd96
commit
4f1136d0cd
1 changed files with 3 additions and 0 deletions
|
@ -321,6 +321,9 @@ void core_handleGuestMouseUpdate(void)
|
|||
if (!util_guestCurToLocal(&localPos))
|
||||
return;
|
||||
|
||||
if (g_state.overlayInput)
|
||||
return;
|
||||
|
||||
g_state.ds->guestPointerUpdated(
|
||||
g_cursor.guest.x, g_cursor.guest.y,
|
||||
util_clamp(localPos.x, g_state.dstRect.x,
|
||||
|
|
Loading…
Reference in a new issue