[vlc-commits] [Git][videolan/vlc][master] 2 commits: window_macosx: remove unused SetDecoration
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sat Jul 12 05:46:18 UTC 2025
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
d1daeee0 by Steve Lhomme at 2025-07-12T04:22:00+00:00
window_macosx: remove unused SetDecoration
It was added in d7cf9a8d4a357525784f5a27db621d63ea051997 but never called.
- - - - -
935b205a by Steve Lhomme at 2025-07-12T04:22:00+00:00
window_macosx: remove stray code
drawable_ops (and thus EmbedClose) is not used since 38d1359751b3e3673b514cd173f75d5a03f601b4.
- - - - -
1 changed file:
- modules/video_output/window_macosx.m
Changes:
=====================================
modules/video_output/window_macosx.m
=====================================
@@ -651,19 +651,6 @@ static void WindowResize(vlc_window_t *wnd, unsigned width, unsigned height)
}
}
-/* Request to enable/disable Window decorations */
-static void SetDecoration(vlc_window_t *wnd, bool decorated)
-{
- VLCVoutWindow *sys = (__bridge VLCVoutWindow*)wnd->sys;
-
- @autoreleasepool {
- __weak VLCVideoStandaloneWindowController *weakWc = sys.windowController;
- dispatch_async(dispatch_get_main_queue(), ^{
- [weakWc setWindowDecorated:decorated];
- });
- }
-}
-
/* Request to enter fullscreen */
static void WindowSetFullscreen(vlc_window_t *wnd, const char *idstr)
{
@@ -768,18 +755,6 @@ int Open(vlc_window_t *wnd)
}
}
-static void EmbedClose(vlc_window_t *wnd)
-{
- id drawable = (__bridge_transfer id)wnd->handle.nsobject;
- wnd->handle.nsobject = nil;
- (void)drawable;
-}
-
-static const struct vlc_window_operations drawable_ops =
-{
- .destroy = EmbedClose,
-};
-
static int EmbedOpen(vlc_window_t *wnd)
{
NSView *drawable = (__bridge NSView*)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/12aa17892adea9134ba295d96f9feee1a936752f...935b205a9995797c379e7594a30d395aeb755d08
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/12aa17892adea9134ba295d96f9feee1a936752f...935b205a9995797c379e7594a30d395aeb755d08
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list