modeline: don't de-focus when childframes exist (it's all the time)

This commit is contained in:
MitchMarq42 2023-04-13 22:57:54 -08:00
parent 84a0478446
commit 946bab8bba

View File

@ -561,8 +561,8 @@ targets."
(defun mitch/powerline-never-select-cfwindow (orig)
"Only run ORIG if the current frame is not a child frame."
(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
:disabled
:after airline-themes