Merge pull request #3 from fufesou/feat/macos_screencapturekit
fix: macos, screencapturekit, don't show cursor
This commit is contained in:
commit
6b374bcaed
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ impl Device {
|
||||||
unsafe {
|
unsafe {
|
||||||
cfg.set_captures_audio(true);
|
cfg.set_captures_audio(true);
|
||||||
cfg.set_excludes_current_process_audio(false);
|
cfg.set_excludes_current_process_audio(false);
|
||||||
|
cfg.set_shows_cursor(false);
|
||||||
}
|
}
|
||||||
let windows = ns::Array::new();
|
let windows = ns::Array::new();
|
||||||
let filter = sc::ContentFilter::with_display_excluding_windows(&self.display, &windows);
|
let filter = sc::ContentFilter::with_display_excluding_windows(&self.display, &windows);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue