[client] mouse: do not warp the cursor if it's outside the window

This commit is contained in:
Geoffrey McRae 2021-01-19 05:38:25 +11:00
parent 16f88a5285
commit 1da24af6ee

View File

@ -897,6 +897,9 @@ void spiceClipboardRequest(const SpiceDataType type)
static void warpPointer(int x, int y, bool exiting)
{
if (!g_cursor.inWindow)
return;
if (g_cursor.warpState == WARP_STATE_OFF)
return;