diff --git a/doom-modeline.el b/doom-modeline.el index dc62a64..d99a1ac 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -390,6 +390,7 @@ active.") (setq doom-modeline-current-window nil) (force-mode-line-update)) +(add-hook 'after-make-frame-functions (lambda () (force-mode-line-update))) (add-hook 'window-configuration-change-hook #'doom-modeline-set-selected-window) (advice-add #'handle-switch-frame :after #'doom-modeline-set-selected-window) (advice-add #'select-window :after #'doom-modeline-set-selected-window)