   fileprivate var repIcon: NSButton?
   fileprivate var titleView: NSTextField?
 
-  fileprivate func themeTitlebar() {
+  fileprivate func themeTitlebar(grow: Bool) {
     guard let window = self.window else {
       return
     }


  func windowDidExitFullScreen(_: Notification) {
    if self.titlebarThemed {
      self.themeTitlebar(nil)
    }
  }


                                                   relatedBy: .equal,
                                                   toItem: contentView, attribute: .centerX,
                                                   multiplier: 1,
                                                   constant: -4 + (button.frame.width + gap + title.frame.width) / 2))

      self.repIcon = button
    } else {
