mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 08:36:28 +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
|
// ensure renderer viewport is aware of the current window size
|
||||||
updatePositionInfo();
|
updatePositionInfo();
|
||||||
|
|
||||||
|
// if spice is not in use, hide the local cursor
|
||||||
|
if (!app_inputEnabled() && params.hideMouse)
|
||||||
|
SDL_ShowCursor(SDL_DISABLE);
|
||||||
|
|
||||||
if (params.fpsMin <= 0)
|
if (params.fpsMin <= 0)
|
||||||
{
|
{
|
||||||
// default 30 fps
|
// default 30 fps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user