Function: hycontrol-frame-to-center

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

Signature

(hycontrol-frame-to-center)

Documentation

Move the selected frame to the center of the screen.

Key Bindings

Source Code

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