Function: hycontrol-frame-to-screen-edges
hycontrol-frame-to-screen-edges is an interactive and byte-compiled
function defined in hycontrol.el.
Signature
(hycontrol-frame-to-screen-edges &optional ARG)
Documentation
Cycle the selected frame's position clockwise; once per call.
Cycle through the middle of edges and corners of the screen. With an optional ARG of 0, just reset the cycle position to 0.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hycontrol.el
(defun hycontrol-frame-to-screen-edges (&optional arg)
"Cycle the selected frame's position clockwise; once per call.
Cycle through the middle of edges and corners of the screen.
With an optional ARG of 0, just reset the cycle position to 0."
(interactive)
(if (and arg (eq arg 0))
(setq hycontrol--screen-edge-position 0)
(funcall
(nth hycontrol--screen-edge-position
'(hycontrol-frame-to-top-left hycontrol-frame-to-top-center
hycontrol-frame-to-top-right hycontrol-frame-to-right-center
hycontrol-frame-to-bottom-right hycontrol-frame-to-bottom-center
hycontrol-frame-to-bottom-left hycontrol-frame-to-left-center)))
(setq hycontrol--screen-edge-position (1+ hycontrol--screen-edge-position))
(if (> hycontrol--screen-edge-position 7)
(setq hycontrol--screen-edge-position 0))))