Function: system-taskbar--dbus-clear-attention-on-frame-focus

system-taskbar--dbus-clear-attention-on-frame-focus is a byte-compiled function defined in system-taskbar.el.gz.

Signature

(system-taskbar--dbus-clear-attention-on-frame-focus)

Documentation

Clear an active D-Bus attention request if any frame is focused.

Source Code

;; Defined in /usr/src/emacs/lisp/system-taskbar.el.gz
(defun system-taskbar--dbus-clear-attention-on-frame-focus ()
  "Clear an active D-Bus attention request if any frame is focused."
  (when (and system-taskbar--dbus-attention
             (catch :clear
               (dolist (frame (frame-list))
                 (when (eq (frame-focus-state frame) t)
                   (throw :clear t)))))
    (system-taskbar-attention nil)))