diff --git a/doom-modeline-core.el b/doom-modeline-core.el index f272fcd..a31cf23 100644 --- a/doom-modeline-core.el +++ b/doom-modeline-core.el @@ -380,8 +380,7 @@ If DEFAULT is non-nil, set the default mode-line for all buffers." (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) -(advice-add #'make-frame :after #'doom-modeline-set-selected-window) +(advice-add #'select-frame :after #'doom-modeline-set-selected-window) (advice-add #'delete-frame :after #'doom-modeline-set-selected-window) (with-no-warnings (cond ((not (boundp 'after-focus-change-function)) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index b5b6f07..65d15ab 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -1223,7 +1223,7 @@ mouse-2: Show help for minor mode" "Mode line construct for miscellaneous information. By default, this shows the information specified by `global-mode-string'." (if (doom-modeline--active) - '(" " mode-line-misc-info))) + '("" mode-line-misc-info))) ;;