mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-17 17:33:21 +08:00
[fix] restore Windows remote control after RDP disconnects
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user