diff options
-rw-r--r-- | lib/eos/jao-tracking.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/eos/jao-tracking.el b/lib/eos/jao-tracking.el index 520116d..d01df7a 100644 --- a/lib/eos/jao-tracking.el +++ b/lib/eos/jao-tracking.el @@ -1,6 +1,6 @@ ;;; jao-minibuffer-tracking.el --- Tracking notifications in minibuffer -*- lexical-binding: t; -*- -;; Copyright (C) 2021 jao +;; Copyright (C) 2021, 2022 jao ;; Author: jao <mail@jao.io> ;; Keywords: convenience @@ -86,7 +86,9 @@ (defun jao-tracking-set-log (v) (when (member window-system '(x)) - (x-change-window-property "_EMACS_LOG" v nil nil nil nil 0))) + (x-change-window-property "_EMACS_LOG" v nil nil nil nil 0)) + (unless (equal "" v) + (shell-command-to-string "wmctrl -r emacsclient -b add,demands_attention"))) (jao-tracking-set-log "") |