Function: hmouse-depress-inactive-minibuffer-p
hmouse-depress-inactive-minibuffer-p is a byte-compiled function
defined in hmouse-drv.el.
Signature
(hmouse-depress-inactive-minibuffer-p EVENT)
Documentation
Return inactive minibuffer window if last Smart Mouse Key depress was in it.
If the last Smart Mouse Key depress EVENT was in the minibuffer and it was inactive, return its window, else nil.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
(defun hmouse-depress-inactive-minibuffer-p (event)
"Return inactive minibuffer window if last Smart Mouse Key depress was in it.
If the last Smart Mouse Key depress EVENT was in the minibuffer
and it was inactive, return its window, else nil."
(let ((window (posn-window (event-start event))))
(when (framep window)
(setq window (frame-selected-window window)))
(and window
(window-minibuffer-p window)
(not (minibuffer-window-active-p window)))))