From 4b599de686b2f8b8f4ed115d2a52958e03968871 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 22 Feb 2020 23:48:35 +0000 Subject: [PATCH] chore(macos): No longer trigger fullscreen on startup Recent Emacs 27 builds use the native macOS fullscreen for the first 10-20 seconds after startup when `ns-use-native-fullscreen` is set to nil during startup. So instead of forcing emacs into fullscreen, just force maximize the window on startup instead. --- core/siren-core-macos.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/siren-core-macos.el b/core/siren-core-macos.el index 1d1cf71..79408d6 100644 --- a/core/siren-core-macos.el +++ b/core/siren-core-macos.el @@ -29,7 +29,7 @@ (setq ns-use-native-fullscreen nil) ;; Set initial frame to fullscreen when Emacs starts. -(add-to-list 'initial-frame-alist '(fullscreen . fullboth)) +(add-to-list 'initial-frame-alist '(fullscreen . maximized)) (provide 'siren-core-macos) ;;; siren-core-macos.el ends here