[client] main: fix incorrectly hiding the cursor dot in captureOnly mode

This commit is contained in:
Geoffrey McRae 2021-08-05 06:11:12 +10:00
parent 85f3a71dd5
commit d90e658e3b

View File

@ -93,7 +93,7 @@ static void lgInit(void)
g_cursor.guest.valid = false; g_cursor.guest.valid = false;
// if spice is not in use, hide the local cursor // if spice is not in use, hide the local cursor
if (!core_inputEnabled() && g_params.hideMouse) if ((!g_params.useSpiceInput && g_params.hideMouse) || !g_params.showCursorDot)
g_state.ds->setPointer(LG_POINTER_NONE); g_state.ds->setPointer(LG_POINTER_NONE);
else else
g_state.ds->setPointer(LG_POINTER_SQUARE); g_state.ds->setPointer(LG_POINTER_SQUARE);