mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 05:12:02 +00:00
[client] spice: make display switching atomic and failure-aware
This commit is contained in:
@@ -959,7 +959,8 @@ static void checkUUID(void)
|
||||
void spiceReady(void)
|
||||
{
|
||||
g_state.spiceReady = true;
|
||||
if (g_state.initialSpiceDisplay)
|
||||
if (atomic_load_explicit(&g_state.spiceDisplayRequested,
|
||||
memory_order_acquire))
|
||||
app_useSpiceDisplay(true);
|
||||
|
||||
// set the intial mouse mode
|
||||
|
||||
Reference in New Issue
Block a user