[client] spice: input:captureOnly shouldn't capture the pointer at start

This commit is contained in:
Geoffrey McRae committed 2021-01-20 22:16:03 +11:00
1 parent 947ba9bfe3
commit 3bccd9c45e
1 file changed
+1 -1
+1 -1
View File
@@ -1000,7 +1000,7 @@ static void setCursorInView(bool enable)
if (params.hideMouse)
SDL_ShowCursor(SDL_DISABLE);
if (warpSupport)
if (warpSupport && !params.captureInputOnly)
g_state.ds->grabPointer();
}
else