mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-16 04:18:11 +00:00
[client] add option to always show cursor
This commit is contained in:
@@ -821,7 +821,7 @@ static void handleMouseMoveEvent(int ex, int ey)
|
||||
state.updateCursor = true;
|
||||
state.warpState = WARP_STATE_OFF;
|
||||
|
||||
if (params.useSpiceInput)
|
||||
if (params.useSpiceInput && !params.alwaysShowCursor)
|
||||
state.drawCursor = false;
|
||||
return;
|
||||
}
|
||||
@@ -906,7 +906,9 @@ static void handleWindowLeave()
|
||||
if (!params.useSpiceInput)
|
||||
return;
|
||||
|
||||
state.drawCursor = false;
|
||||
if (!params.alwaysShowCursor)
|
||||
state.drawCursor = false;
|
||||
|
||||
state.cursorInView = false;
|
||||
state.updateCursor = true;
|
||||
state.warpState = WARP_STATE_OFF;
|
||||
|
Reference in New Issue
Block a user