mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +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
@ -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 New Issue
Block a user