modeline: don't de-focus when childframes exist (it's all the time)
This commit is contained in:
parent
84a0478446
commit
946bab8bba
@ -561,8 +561,8 @@ targets."
|
|||||||
(defun mitch/powerline-never-select-cfwindow (orig)
|
(defun mitch/powerline-never-select-cfwindow (orig)
|
||||||
"Only run ORIG if the current frame is not a child frame."
|
"Only run ORIG if the current frame is not a child frame."
|
||||||
(unless (frame-parent) (funcall orig)))
|
(unless (frame-parent) (funcall orig)))
|
||||||
;; (advice-add #'powerline-set-selected-window :around #'mitch/powerline-never-select-cfwindow)
|
(advice-add #'powerline-set-selected-window
|
||||||
)
|
:around #'mitch/powerline-never-select-cfwindow))
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
:disabled
|
:disabled
|
||||||
:after airline-themes
|
:after airline-themes
|
||||||
|
Loading…
Reference in New Issue
Block a user