From 3bccd9c45ee72dee9a3ce37ee0656e12917e63a0 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 20 Jan 2021 22:16:03 +1100 Subject: [PATCH] [client] spice: input:captureOnly shouldn't capture the pointer at start --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index eeff7932..1aee2d08 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -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