mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-24 03:00:10 +00:00
Revert "Update mode-line forcely after making a new frame."
This reverts commit 6e30cfad01
.
This commit is contained in:
parent
6e30cfad01
commit
d97080620e
1 changed files with 0 additions and 1 deletions
|
@ -390,7 +390,6 @@ active.")
|
||||||
(setq doom-modeline-current-window nil)
|
(setq doom-modeline-current-window nil)
|
||||||
(force-mode-line-update))
|
(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)
|
(add-hook 'window-configuration-change-hook #'doom-modeline-set-selected-window)
|
||||||
(advice-add #'handle-switch-frame :after #'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 #'select-window :after #'doom-modeline-set-selected-window)
|
||||||
|
|
Loading…
Reference in a new issue