mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-28 10:52:02 +00:00
[client] spice: complete startup when server info retrieval fails
This commit is contained in:
@@ -968,9 +968,8 @@ void spiceReady(void)
|
|||||||
purespice_mouseMode(true);
|
purespice_mouseMode(true);
|
||||||
|
|
||||||
PSServerInfo info;
|
PSServerInfo info;
|
||||||
if (!purespice_getServerInfo(&info))
|
if (purespice_getServerInfo(&info))
|
||||||
return;
|
{
|
||||||
|
|
||||||
bool uuidValid = false;
|
bool uuidValid = false;
|
||||||
for(int i = 0; i < sizeof(info.uuid); ++i)
|
for(int i = 0; i < sizeof(info.uuid); ++i)
|
||||||
if (info.uuid[i])
|
if (info.uuid[i])
|
||||||
@@ -985,6 +984,9 @@ void spiceReady(void)
|
|||||||
checkUUID();
|
checkUUID();
|
||||||
}
|
}
|
||||||
purespice_freeServerInfo(&info);
|
purespice_freeServerInfo(&info);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
DEBUG_WARN("Failed to obtain SPICE server information");
|
||||||
|
|
||||||
if (g_params.useSpiceInput)
|
if (g_params.useSpiceInput)
|
||||||
keybind_spiceRegister();
|
keybind_spiceRegister();
|
||||||
|
|||||||
Reference in New Issue
Block a user