From 2188adb1f19854ed131b1933a91402b05ab45ace Mon Sep 17 00:00:00 2001 From: dijunkun Date: Mon, 24 Nov 2025 16:47:33 +0800 Subject: [PATCH] [chore] disable CROSSDESK_DEBUG in keyboard and mouse control --- src/gui/render_callback.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/render_callback.cpp b/src/gui/render_callback.cpp index 06cdd00..34eef0c 100644 --- a/src/gui/render_callback.cpp +++ b/src/gui/render_callback.cpp @@ -469,12 +469,12 @@ void Render::OnConnectionStatusCb(ConnectionStatus status, const char* user_id, render->need_to_send_host_info_ = true; render->start_screen_capturer_ = true; render->start_speaker_capturer_ = true; -#ifdef CROSSDESK_DEBUG - render->start_mouse_controller_ = false; - render->start_keyboard_capturer_ = false; -#else + // #ifdef CROSSDESK_DEBUG + // render->start_mouse_controller_ = false; + // render->start_keyboard_capturer_ = false; + // #else render->start_mouse_controller_ = true; -#endif + // #endif if (std::all_of(render->connection_status_.begin(), render->connection_status_.end(), [](const auto& kv) { return kv.first.find("web") != std::string::npos;