Skip to content

Commit

Permalink
[client] spice: always show the pointer if using input:captureOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Jan 21, 2021
1 parent 4113294 commit 185c776
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/main.c
Expand Up @@ -995,7 +995,8 @@ static void setCursorInView(bool enable)
return;

g_cursor.inView = enable;
g_cursor.draw = params.alwaysShowCursor ? true : enable;
g_cursor.draw = (params.alwaysShowCursor || params.captureInputOnly)
? true : enable;
g_cursor.redraw = true;

/* if the display server does not support warp, then we can not operate in
Expand Down

0 comments on commit 185c776

Please sign in to comment.