Function: doom-modeline-focus-change

doom-modeline-focus-change is a natively compiled function defined in doom-modeline-core.el.

Signature

(doom-modeline-focus-change &rest _)

Documentation

Function to handle the events of the focus change.

Source Code

;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-core.el
(defun doom-modeline-focus-change (&rest _)
  "Function to handle the events of the focus change."
  (if (frame-focus-state)
      (doom-modeline-set-selected-window)
    (doom-modeline-unset-selected-window)))