From 12da2fc0b7de8673b7c87a29ed3557707b6df924 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 9 Nov 2020 22:24:40 +1100 Subject: [PATCH] [client] fixed incorrect warpState Credit to @Adam in Discord VFIO #looking-glass --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index d6f531cd..88156aab 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -797,7 +797,7 @@ static void handleMouseMoveEvent(int ex, int ey) { state.curLastX += state.warpToX - state.warpFromX; state.curLastY += state.warpToY - state.warpFromY; - state.warpState = WARP_STATE_ON; + state.warpState = state.serverMode ? WARP_STATE_ON : WARP_STATE_ARMED; } }