[client] fix regression causing failure to warp when exiting the window

This commit is contained in:
Geoffrey McRae 2021-01-20 00:52:33 +11:00
parent 3774d2bfe9
commit 8e604667f9

View file

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