mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -24,9 +24,10 @@
|
||||
|
||||
;; Sets `ns-transparent-titlebar' and `ns-appearance' frame parameters so window
|
||||
;; borders will match the enabled theme.
|
||||
(when (or (daemonp)
|
||||
(display-graphic-p))
|
||||
(add-hook 'doom-load-theme-hook #'ns-auto-titlebar-mode))
|
||||
(and (or (daemonp)
|
||||
(display-graphic-p))
|
||||
(require 'ns-auto-titlebar nil t)
|
||||
(ns-auto-titlebar-mode +1))
|
||||
|
||||
;; HACK On MacOS, disabling the menu bar makes MacOS treat Emacs as a
|
||||
;; non-application window -- which means it doesn't automatically capture
|
||||
|
Reference in New Issue
Block a user