mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-16 20:17:10 +08:00
[chore] disable CROSSDESK_DEBUG in keyboard and mouse control
This commit is contained in:
@@ -469,12 +469,12 @@ void Render::OnConnectionStatusCb(ConnectionStatus status, const char* user_id,
|
|||||||
render->need_to_send_host_info_ = true;
|
render->need_to_send_host_info_ = true;
|
||||||
render->start_screen_capturer_ = true;
|
render->start_screen_capturer_ = true;
|
||||||
render->start_speaker_capturer_ = true;
|
render->start_speaker_capturer_ = true;
|
||||||
#ifdef CROSSDESK_DEBUG
|
// #ifdef CROSSDESK_DEBUG
|
||||||
render->start_mouse_controller_ = false;
|
// render->start_mouse_controller_ = false;
|
||||||
render->start_keyboard_capturer_ = false;
|
// render->start_keyboard_capturer_ = false;
|
||||||
#else
|
// #else
|
||||||
render->start_mouse_controller_ = true;
|
render->start_mouse_controller_ = true;
|
||||||
#endif
|
// #endif
|
||||||
if (std::all_of(render->connection_status_.begin(),
|
if (std::all_of(render->connection_status_.begin(),
|
||||||
render->connection_status_.end(), [](const auto& kv) {
|
render->connection_status_.end(), [](const auto& kv) {
|
||||||
return kv.first.find("web") != std::string::npos;
|
return kv.first.find("web") != std::string::npos;
|
||||||
|
|||||||
Reference in New Issue
Block a user