fix: macos, screencapturekit, don't show cursor
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
9b56b49acc
commit
e6c8d833ed
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