Enable ns-auto-titlebar-mode for mac users

ns-auto-titlebar-mode needs to be enabled for
ns-auto-titlebar-set-all-frames and ns-auto-tilebar-set-frame to work.
This commit is contained in:
Henrik Lissner 2019-08-21 21:12:52 -04:00
parent 94ba098e43
commit 970a31fc56
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -289,7 +289,8 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
;; appropriate for the loaded theme. ;; appropriate for the loaded theme.
(and (or (daemonp) (and (or (daemonp)
(display-graphic-p)) (display-graphic-p))
(require 'ns-auto-titlebar nil t)) (require 'ns-auto-titlebar nil t)
(ns-auto-titlebar-mode +1))
(add-hook! 'after-make-frame-functions (add-hook! 'after-make-frame-functions
(defun doom-init-menu-bar-in-gui-frames-h (frame) (defun doom-init-menu-bar-in-gui-frames-h (frame)