From 962aa49a454d86e4e0c94c354b31d7084a36bac6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 20 Sep 2024 19:17:50 -0700 Subject: [PATCH] macos: remove nstitlecontainerview hidden --- macos/Sources/Features/Terminal/TerminalController.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/macos/Sources/Features/Terminal/TerminalController.swift b/macos/Sources/Features/Terminal/TerminalController.swift index aaabd3c8c..2dd016ebe 100644 --- a/macos/Sources/Features/Terminal/TerminalController.swift +++ b/macos/Sources/Features/Terminal/TerminalController.swift @@ -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