diff --git a/client/src/core.c b/client/src/core.c index 1c03d1ef..06f8b40f 100644 --- a/client/src/core.c +++ b/client/src/core.c @@ -319,7 +319,9 @@ void core_stopFrameThread(void) void core_handleGuestMouseUpdate(void) { struct DoublePoint localPos; - util_guestCurToLocal(&localPos); + if (!util_guestCurToLocal(&localPos)) + return; + g_state.ds->guestPointerUpdated( g_cursor.guest.x, g_cursor.guest.y, util_clamp(localPos.x, g_state.dstRect.x,