mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-13 04:05:43 +08:00
[feat] remember remote display resolutions across connections
This commit is contained in:
1 parent
17b4db25fb
commit
a862bf6b35
15 files changed
+414
-67
No files matched your search
@@ -193,6 +193,10 @@ void GuiRuntime::HandleServerControllerDisconnected(
|
||||
if (auto events = ControllerEvents(remote_id))
|
||||
transfers_.Cancel(events.get(), remote_id);
|
||||
preview_subscriptions_.Remove(remote_id);
|
||||
{
|
||||
std::lock_guard lock(display_resolution_commands_mutex_);
|
||||
initial_display_resolutions_.erase(remote_id);
|
||||
}
|
||||
|
||||
bool has_connected_controller = false;
|
||||
std::string remaining_controller_id;
|
||||
|
||||
Reference in new issue
Block a user