From d70fe9103df62c2788688f4d470d386c50ab2bfd Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 31 Aug 2022 00:53:05 +0100 Subject: wee tweaks --- lib/eos/jao-tracking.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/eos/jao-tracking.el b/lib/eos/jao-tracking.el index cf64c89..26404a4 100644 --- a/lib/eos/jao-tracking.el +++ b/lib/eos/jao-tracking.el @@ -88,9 +88,10 @@ (defun jao-tracking-set-log (v) (when (member window-system '(x)) (x-change-window-property "_EMACS_LOG" v nil nil nil nil 0)) - (let* ((action (if (string-blank-p v) "remove" "add")) - (cmd (format "wmctrl -r emacs -b %s,demands_attention" action))) - (shell-command-to-string cmd))) + (unless jao-wayland-enabled + (let* ((action (if (string-blank-p v) "remove" "add")) + (cmd (format "wmctrl -r emacs -b %s,demands_attention" action))) + (shell-command-to-string cmd)))) (jao-tracking-set-log "") -- cgit v1.2.3