mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[client] app: if spice is not in use, hide the local cursor (fixes #415)
This commit is contained in:
parent
afb0146d33
commit
29ea8ecf6b
1 changed files with 4 additions and 0 deletions
|
@ -1993,6 +1993,10 @@ static int lg_run(void)
|
|||
// ensure renderer viewport is aware of the current window size
|
||||
updatePositionInfo();
|
||||
|
||||
// if spice is not in use, hide the local cursor
|
||||
if (!app_inputEnabled() && params.hideMouse)
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
|
||||
if (params.fpsMin <= 0)
|
||||
{
|
||||
// default 30 fps
|
||||
|
|
Loading…
Reference in a new issue