mac-capture: Make background transparent in SCK App Capture on macOS 13+
This commit is contained in:
parent
92824b5e2e
commit
728d919bde
@ -445,6 +445,11 @@ static bool init_screen_stream(struct screen_capture *sc)
|
||||
includingApplications:target_application_array
|
||||
exceptingWindows:[[NSArray alloc] init]];
|
||||
|
||||
if (@available(macOS 13.0, *))
|
||||
[sc->stream_properties
|
||||
setBackgroundColor:CGColorGetConstantColor(
|
||||
kCGColorClear)];
|
||||
|
||||
set_display_mode(sc, target_display);
|
||||
} break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user