Revert 27d3e73
Some users may not be using a theme (*shudder*), in which case ns-auto-titlebar-mode never kicks in. That said, this "fix" didn't fix the targeted issue anyhow.
This commit is contained in:
parent
04a70e23c4
commit
638c980163
1 changed files with 4 additions and 3 deletions
|
@ -24,9 +24,10 @@
|
||||||
|
|
||||||
;; Sets `ns-transparent-titlebar' and `ns-appearance' frame parameters so window
|
;; Sets `ns-transparent-titlebar' and `ns-appearance' frame parameters so window
|
||||||
;; borders will match the enabled theme.
|
;; borders will match the enabled theme.
|
||||||
(when (or (daemonp)
|
(and (or (daemonp)
|
||||||
(display-graphic-p))
|
(display-graphic-p))
|
||||||
(add-hook 'doom-load-theme-hook #'ns-auto-titlebar-mode))
|
(require 'ns-auto-titlebar nil t)
|
||||||
|
(ns-auto-titlebar-mode +1))
|
||||||
|
|
||||||
;; HACK On MacOS, disabling the menu bar makes MacOS treat Emacs as a
|
;; HACK On MacOS, disabling the menu bar makes MacOS treat Emacs as a
|
||||||
;; non-application window -- which means it doesn't automatically capture
|
;; non-application window -- which means it doesn't automatically capture
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue