[vlc-commits] [Git][videolan/vlc][master] 2 commits: macosx: Set tabbing mode to disabled on windows
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Mar 9 08:05:32 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
aff43281 by Claudio Cambra at 2025-03-09T07:47:09+00:00
macosx: Set tabbing mode to disabled on windows
We don't use or support tabs, so explicitly disable tabs in root
VLCWindow class
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
139b23e0 by Claudio Cambra at 2025-03-09T07:47:09+00:00
macosx: Ensure tabbing mode also disabled when help window is open
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
2 changed files:
- modules/gui/macosx/windows/VLCHelpWindowController.m
- modules/gui/macosx/windows/video/VLCWindow.m
Changes:
=====================================
modules/gui/macosx/windows/VLCHelpWindowController.m
=====================================
@@ -45,6 +45,9 @@
- (void)windowDidLoad
{
+ if (@available(macOS 10.12, *)) {
+ self.window.tabbingMode = NSWindowTabbingModeDisallowed;
+ }
[[self window] setTitle:_NS("VLC media player Help")];
[forwardButton setToolTip:_NS("Next")];
[backButton setToolTip:_NS("Previous")];
=====================================
modules/gui/macosx/windows/video/VLCWindow.m
=====================================
@@ -52,6 +52,10 @@
if (self) {
/* we don't want this window to be restored on relaunch */
[self setRestorable:NO];
+
+ if (@available(macOS 10.12, *)) {
+ self.tabbingMode = NSWindowTabbingModeDisallowed;
+ }
}
return self;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f4abe288bb35e04e9540cfe1978d7132b5e23b53...139b23e07ed2885fd078cb0677a304462f72dc52
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f4abe288bb35e04e9540cfe1978d7132b5e23b53...139b23e07ed2885fd078cb0677a304462f72dc52
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