Function: posframe-poshandler-frame-bottom-center

posframe-poshandler-frame-bottom-center is a byte-compiled function defined in posframe.el.

Signature

(posframe-poshandler-frame-bottom-center INFO)

Documentation

Posframe's position handler.

This poshandler function let bottom edge center of posframe align to buttom edge center of frame.

The structure of INFO can be found in docstring of posframe-show.

Source Code

;; Defined in ~/.emacs.d/elpa/posframe-20260415.14/posframe.el
(defun posframe-poshandler-frame-bottom-center (info)
  "Posframe's position handler.

This poshandler function let bottom edge center of posframe align
to buttom edge center of frame.

The structure of INFO can be found in docstring of
`posframe-show'."
  (cons (/ (- (plist-get info :parent-frame-width)
              (plist-get info :posframe-width))
           2)
        (- (plist-get info :parent-frame-height)
           (plist-get info :posframe-height)
           (plist-get info :mode-line-height)
           (plist-get info :minibuffer-height))))