From 6d921a3309614e96931577f9c9f0e4a9c7414066 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Fri, 7 Jun 2024 16:30:18 +0800 Subject: [PATCH] Fix server mode screen capture error --- src/main_window/main_window_callback_func.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_window/main_window_callback_func.cpp b/src/main_window/main_window_callback_func.cpp index c81db8d..8b50bdb 100644 --- a/src/main_window/main_window_callback_func.cpp +++ b/src/main_window/main_window_callback_func.cpp @@ -154,7 +154,7 @@ void MainWindow::OnConnectionStatusCb(ConnectionStatus status, } else if (ConnectionStatus::Connected == status) { main_window->connection_status_str_ = "Connected"; 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_mouse_control_ = true; }