From b0f2a2e39fb60d4ab20ef972ba691c7bbb41fcea Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 8 Jan 2021 03:27:03 +1100 Subject: [PATCH] [client] spice: flag the cursor as inView unconditionally in capture --- client/src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/main.c b/client/src/main.c index 1f0e10f2..4f22ad11 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -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) {