From 8e604667f975214e316ff1a5df0258e0ca849c7f Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 20 Jan 2021 00:52:33 +1100 Subject: [PATCH] [client] fix regression causing failure to warp when exiting the window --- 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 c611e63b..1eadee50 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -904,7 +904,7 @@ void spiceClipboardRequest(const SpiceDataType type) static bool warpPointer(int x, int y, bool exiting) { - if (!g_cursor.inWindow) + if (!g_cursor.inWindow && !exiting) return false; if (g_cursor.warpState == WARP_STATE_OFF)