Function: hmouse-release

hmouse-release is a byte-compiled function defined in hmouse-drv.el.

Signature

(hmouse-release ASSISTING)

Documentation

Set most Smart Key release values. Use Assist Key with ASSISTING non-nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
(defun hmouse-release (assisting)
  "Set most Smart Key release values.  Use Assist Key with ASSISTING non-nil."
  (when (fboundp hmouse-set-point-command)
    (if assisting
	(setq assist-key-release-position (hkey-absolute-pixel-position)
	      assist-key-depressed-flag nil
	      assist-key-release-buffer (hmouse-key-release-buffer assist-key-release-position)
	      assist-key-release-window (hmouse-key-release-window assist-key-release-position)
	      assist-key-release-prev-point (point-marker))
      (setq action-key-release-position (hkey-absolute-pixel-position)
	    action-key-depressed-flag nil
	    action-key-release-buffer (hmouse-key-release-buffer action-key-release-position)
	    action-key-release-window (hmouse-key-release-window action-key-release-position)
	    action-key-release-prev-point (point-marker)))
    (and (eq major-mode 'br-mode)
	 (setq action-mouse-key-prev-window
	       (if (br-in-view-window-p)
		   (save-window-excursion
		     (br-next-listing-window)
		     (selected-window))
		 (selected-window))))))