[client] main: display spice VM name in process title

This commit is contained in:
Quantum
2026-07-29 00:37:26 -04:00
committed by Geoffrey McRae
parent 0f0f96394a
commit 1af909adae
3 changed files with 23 additions and 1 deletions

View File

@@ -49,6 +49,7 @@
#include "common/paths.h"
#include "common/cpuinfo.h"
#include "common/ll.h"
#include "common/proctitle.h"
#include "message.h"
#include "core.h"
@@ -739,6 +740,8 @@ void spiceReady(void)
PSServerInfo info;
if (purespice_getServerInfo(&info))
{
core_setTitle(info.name);
bool uuidValid = false;
for(int i = 0; i < sizeof(info.uuid); ++i)
if (info.uuid[i])
@@ -1631,6 +1634,9 @@ int main(int argc, char * argv[])
return -1;
}
lgInitProcessTitle(argc, &argv);
core_setTitle(NULL);
DEBUG_INFO("Looking Glass (%s)", BUILD_VERSION);
DEBUG_INFO("Locking Method: " LG_LOCK_MODE);
cpuInfo_log();