mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user