mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-18 21:38:10 +00:00
[client] ds: refactor app and cursor state into app.c and core.c
This commit is contained in:
@@ -87,7 +87,7 @@ static void lgInit(void)
|
||||
g_cursor.guest.valid = false;
|
||||
|
||||
// if spice is not in use, hide the local cursor
|
||||
if (!app_inputEnabled() && g_params.hideMouse)
|
||||
if (!core_inputEnabled() && g_params.hideMouse)
|
||||
g_state.ds->showPointer(false);
|
||||
else
|
||||
g_state.ds->showPointer(true);
|
||||
@@ -296,7 +296,7 @@ static int cursorThread(void * unused)
|
||||
g_cursor.guest.valid = true;
|
||||
|
||||
// if the state just became valid
|
||||
if (valid != true && app_inputEnabled())
|
||||
if (valid != true && core_inputEnabled())
|
||||
{
|
||||
core_alignToGuest();
|
||||
app_resyncMouseBasic();
|
||||
|
Reference in New Issue
Block a user