[fix] restore Windows remote control after RDP disconnects

This commit is contained in:
dijunkun
2026-10-16 18:20:45 +08:00
parent 40670de954
commit 0901d61533
14 changed files with 380 additions and 32 deletions
@@ -216,6 +216,10 @@ void GuiRuntime::HandleServerControllerDisconnected(
remaining_controller_id = id;
}
}
#if _WIN32
windows_rdp_handoff_connected_->store(has_connected_controller,
std::memory_order_relaxed);
#endif
}
if (has_connected_controller) {
remote_client_id_ = remaining_controller_id;