[feat] do not capture cursor

This commit is contained in:
dijunkun
2024-09-03 17:00:57 +08:00
parent 1210a0b631
commit c1efe2f4ac
3 changed files with 5 additions and 1 deletions

View File

@@ -89,6 +89,8 @@ int WgcSessionImpl::Start() {
capture_session_.StartCapture();
capture_session_.IsCursorCaptureEnabled(false);
error = 0;
} catch (winrt::hresult_error) {
std::cout << "AE_WGC_CREATE_CAPTURER_FAILED" << std::endl;