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

This commit is contained in:
Geoffrey McRae 2021-01-20 22:16:03 +11:00
parent 947ba9bfe3
commit 3bccd9c45e

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