mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: remove nstitlecontainerview hidden
This commit is contained in:
@ -360,14 +360,6 @@ class TerminalController: NSWindowController, NSWindowDelegate,
|
||||
|
||||
// Disallow tabbing if the titlebar is hidden, since that will (should) also hide the tab bar.
|
||||
window.tabbingMode = .disallowed
|
||||
|
||||
// Nuke it from orbit -- hide the titlebar container entirely, just in case.
|
||||
if let themeFrame = window.contentView?.superview {
|
||||
// Hide the titlebar container
|
||||
if let titleBarContainer = themeFrame.firstDescendant(withClassName: "NSTitlebarContainerView") {
|
||||
titleBarContainer.isHidden = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// In various situations, macOS automatically tabs new windows. Ghostty handles
|
||||
|
Reference in New Issue
Block a user