[client] spice: flag the cursor as inView unconditionally in capture

This commit is contained in:
Geoffrey McRae 2021-01-08 03:27:03 +11:00
parent 526572c9c9
commit b0f2a2e39f

View File

@ -1147,6 +1147,9 @@ static void setGrab(bool enable)
}
}
if (g_cursor.grab)
g_cursor.inView = true;
/* if exiting grab move the pointer back to the center of the window */
if (!g_cursor.grab && g_cursor.inWindow)
{