[client] main: if spice is in use check the guest uuid matches

If the guest supports sending us it's UUID and PureSpice has also
reported the guest's UUID, check them to see if the user has
accidentially connected to the wrong spice socket.
This commit is contained in:
Geoffrey McRae
2022-01-06 14:38:46 +11:00
parent 5bb1f01dea
commit 7bcd0dd97f
2 changed files with 45 additions and 6 deletions

View File

@@ -72,6 +72,11 @@ struct AppState
bool dsInitialized;
bool jitRender;
uint8_t spiceUUID[16];
bool spiceUUIDValid;
uint8_t guestUUID[16];
bool guestUUIDValid;
bool stopVideo;
bool ignoreInput;
bool escapeActive;