Function: hmouse-move-window-to-frame
hmouse-move-window-to-frame is an interactive and byte-compiled
function defined in hui-window.el.
Signature
(hmouse-move-window-to-frame &optional ALWAYS-DELETE-FLAG)
Documentation
Move the selected window to the right of the window of Action Key release.
If free variable assist-flag is non-nil, uses Assist Key release instead.
If optional ALWAYS-DELETE-FLAG is non-nil, delete the source window
after copying it to the other frame; otherwise, if there is only one
window in the source frame or if free variable hycontrol-keep-window-flag
is non-nil, leave the original window and just clone it into the new frame.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
;; Derived from Emacs mouse.el.
(defun hmouse-move-window-to-frame (&optional always-delete-flag)
"Move the selected window to the right of the window of Action Key release.
If free variable `assist-flag' is non-nil, uses Assist Key release instead.
If optional ALWAYS-DELETE-FLAG is non-nil, delete the source window
after copying it to the other frame; otherwise, if there is only one
window in the source frame or if free variable `hycontrol-keep-window-flag'
is non-nil, leave the original window and just clone it into the new frame."
(interactive)
(let ((depress-window (if assist-flag
assist-key-depress-window
action-key-depress-window))
(release-window (if assist-flag
assist-key-release-window
action-key-release-window))
buf)
(cond ((or (window-minibuffer-p depress-window)
(window-minibuffer-p release-window))
(beep)
(minibuffer-message "(Hyperbole): Select a non-minibuffer window"))
(t
;; Give temporary modes such as isearch a chance to turn off.
(run-hooks 'mouse-leave-buffer-hook)
(setq buf (window-buffer depress-window))
(with-selected-window release-window
(split-window-horizontally)
(other-window 1)
(switch-to-buffer buf nil t))
(with-selected-frame (window-frame depress-window)
(unless (or hycontrol-keep-window-flag
(and (not always-delete-flag) (one-window-p t)))
(delete-window depress-window)))))))