From dbcafb62ff0e71f5d14dbaaab1d806da455aba61 Mon Sep 17 00:00:00 2001 From: gxalpha Date: Mon, 29 Aug 2022 14:38:52 +0200 Subject: [PATCH] mac-capture: Remove explicit call to setBackgroundColor This was necessary since the default background color was meant to be clear, but wasn't set properly. The bug is fixed in macOS 13 Beta 6, so we can remove this statement. --- plugins/mac-capture/mac-screen-capture.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/mac-capture/mac-screen-capture.m b/plugins/mac-capture/mac-screen-capture.m index 63752a985..9a1c9e2d3 100644 --- a/plugins/mac-capture/mac-screen-capture.m +++ b/plugins/mac-capture/mac-screen-capture.m @@ -456,11 +456,6 @@ 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; }