From 8e0c5ee327f4196c71395407f9084e68d7322c45 Mon Sep 17 00:00:00 2001 From: Adrián Medraño Calvo Date: Tue, 22 Nov 2022 00:00:00 +0000 Subject: Reduce logging verbosity * exwm-input.el (exwm-input--on-echo-area-dirty) (exwm-input--on-echo-area-clear): Reduce logging verbosity. --- exwm-input.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exwm-input.el b/exwm-input.el index c27ee1b04f..8fd0af50d8 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -1121,16 +1121,16 @@ One use is to access the keymap bound to KEYS (as prefix keys) in char-mode." (defun exwm-input--on-echo-area-dirty () "Run when new message arrives to grab keyboard if necessary." - (exwm--log) (when (and (not (active-minibuffer-window)) (not (exwm-workspace--client-p)) cursor-in-echo-area) + (exwm--log) (exwm-input--on-minibuffer-setup))) (defun exwm-input--on-echo-area-clear () "Run in `echo-area-clear-hook' to release keyboard if necessary." - (exwm--log) (unless (current-message) + (exwm--log) (exwm-input--on-minibuffer-exit))) (defun exwm-input--init () -- cgit 1.4.1