Function: hkey-drag-stay
hkey-drag-stay is an autoloaded and byte-compiled function defined in
hmouse-drv.el.
Signature
(hkey-drag-stay RELEASE-WINDOW)
Documentation
Emulate Smart Mouse Key drag from selected window to RELEASE-WINDOW.
When called interactively the RELEASE-WINDOW is chosen via ace-window. After the drag, the selected window remains the same as it was before the drag.
Works only when running under a window system, not from a dumb terminal.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
;;;###autoload
(defun hkey-drag-stay (release-window)
"Emulate Smart Mouse Key drag from selected window to RELEASE-WINDOW.
When called interactively the RELEASE-WINDOW is chosen via
ace-window. After the drag, the selected window remains the same
as it was before the drag.
Works only when running under a window system, not from a dumb terminal."
(let ((start-window (selected-window)))
(unwind-protect
(hkey-drag release-window)
;; Leave start-window selected
(when (window-live-p start-window)
(hypb:select-window-frame start-window)))))