From 4f1136d0cdc879f826a6c9133d4d3f150e695fb9 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 10 Aug 2021 16:08:13 +1000 Subject: [PATCH] [client] core: dont warp the cursor if the overlay is active --- client/src/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/core.c b/client/src/core.c index 2579dc0c..70053b73 100644 --- a/client/src/core.c +++ b/client/src/core.c @@ -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,