Function: hycontrol-frame-to-top-center

hycontrol-frame-to-top-center is an interactive and byte-compiled function defined in hycontrol.el.

Signature

(hycontrol-frame-to-top-center)

Documentation

Move the selected frame to the center of the top of the screen.

Allow for hycontrol-screen-*-offsets.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hycontrol.el
(defun hycontrol-frame-to-top-center ()
  "Move the selected frame to the center of the top of the screen.
Allow for hycontrol-screen-*-offsets."
  (interactive)
  (hycontrol-set-frame-position nil (round (/ (- (display-pixel-width) (hycontrol-frame-width)) 2)) hycontrol-screen-top-offset))