Function: hmouse-release-left-edge

hmouse-release-left-edge is a byte-compiled function defined in hui-window.el.

Signature

(hmouse-release-left-edge)

Documentation

Return non-nil if last Smart Key release was at left window edge.

hmouse-edge-sensitivity value determines how near to actual edge the release must be.

GNU Emacs mode-line key bindings override the Smart Mouse Key bindings immediately after the first blank mode-line character position. Therefore, mode-line left edge clicks must be on the first blank character of the mode-line regardless of the setting of hmouse-edge-sensitivity.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
(defun hmouse-release-left-edge ()
  "Return non-nil if last Smart Key release was at left window edge.
`hmouse-edge-sensitivity' value determines how near to actual edge the
release must be.

GNU Emacs mode-line key bindings override the Smart Mouse Key bindings
immediately after the first blank mode-line character position.  Therefore,
mode-line left edge clicks must be on the first blank character of the
mode-line regardless of the setting of `hmouse-edge-sensitivity'."
  (let ((args (if assist-flag assist-key-release-args
		 action-key-release-args))
	window-left last-release-x)
    (setq window-left (car (window-edges))
	  last-release-x (and args (hmouse-x-coord args)))
    (and last-release-x (< (- last-release-x window-left)
			   hmouse-edge-sensitivity)
	 (>= (- last-release-x window-left) 0))))