Function: hmouse-drag-p

hmouse-drag-p is a byte-compiled function defined in hui-window.el.

Signature

(hmouse-drag-p)

Documentation

Return non-nil if last Smart Key depress and release locations differ.

Even if the mouse pointer stays within the same position within a window, its frame may have been moved by a bottommost modeline drag.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
(defun hmouse-drag-p ()
  "Return non-nil if last Smart Key depress and release locations differ.
Even if the mouse pointer stays within the same position within a
window, its frame may have been moved by a bottommost modeline drag."
  (or (not (eq (if assist-flag
		   assist-key-depress-window
		 action-key-depress-window)
	       (if assist-flag
		   assist-key-release-window
		 action-key-release-window)))
      ;; Depress and release were in the same window; test if there is a drag.
      (hmouse-drag-same-window)))