[client] core: dont warp the cursor if the overlay is active

This commit is contained in:
Geoffrey McRae 2021-08-10 16:08:13 +10:00
parent 127d3acd96
commit 4f1136d0cd

View file

@ -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,