MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / OnGetCaptureMonitorName

Method OnGetCaptureMonitorName

src/client/ct_base_workspace.cpp:1111–1122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1109 }
1110
1111 void BaseWorkspace::OnGetCaptureMonitorName(std::string monitor_name) {
1112 if (!game_view_) {
1113 return;
1114 }
1115 if (kCaptureAllMonitorsSign == monitor_name) {
1116 if (monitor_index_map_name_.size() > 0) {
1117 SendSwitchMonitorMessage(monitor_index_map_name_[0]);
1118 }
1119 return;
1120 }
1121 game_view_->SetMonitorName(monitor_name);
1122 }
1123
1124 void BaseWorkspace::InitGameView(const std::shared_ptr<ThunderSdkParams>& params) {
1125 this->resize(def_window_size_);

Callers

nothing calls this directly

Calls 1

SetMonitorNameMethod · 0.45

Tested by

no test coverage detected