[client] spice: always show the pointer if using input:captureOnly

This commit is contained in:
Geoffrey McRae 2021-01-21 17:36:22 +11:00
parent 4113294d30
commit 185c7764ba

View File

@ -995,7 +995,8 @@ static void setCursorInView(bool enable)
return; return;
g_cursor.inView = enable; g_cursor.inView = enable;
g_cursor.draw = params.alwaysShowCursor ? true : enable; g_cursor.draw = (params.alwaysShowCursor || params.captureInputOnly)
? true : enable;
g_cursor.redraw = true; g_cursor.redraw = true;
/* if the display server does not support warp, then we can not operate in /* if the display server does not support warp, then we can not operate in