Fix server mode screen capture error

This commit is contained in:
dijunkun
2024-06-07 16:30:18 +08:00
parent 5a690ebbb6
commit 6d921a3309

View File

@@ -154,7 +154,7 @@ void MainWindow::OnConnectionStatusCb(ConnectionStatus status,
} else if (ConnectionStatus::Connected == status) { } else if (ConnectionStatus::Connected == status) {
main_window->connection_status_str_ = "Connected"; main_window->connection_status_str_ = "Connected";
main_window->connection_established_ = true; main_window->connection_established_ = true;
if (main_window->is_client_mode_) { if (!main_window->is_client_mode_) {
main_window->start_screen_capture_ = true; main_window->start_screen_capture_ = true;
main_window->start_mouse_control_ = true; main_window->start_mouse_control_ = true;
} }