Function: posframe-poshandler-window-bottom-left-corner

posframe-poshandler-window-bottom-left-corner is a byte-compiled function defined in posframe.el.

Signature

(posframe-poshandler-window-bottom-left-corner INFO)

Documentation

Posframe's position handler.

This poshandler function let bottom left corner of posframe align to bottom left corner of window.

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-window-bottom-left-corner (info)
  "Posframe's position handler.

This poshandler function let bottom left corner of posframe align to
bottom left corner of window.

The structure of INFO can be found in docstring of
`posframe-show'."
  (let* ((window-left (plist-get info :parent-window-left))
         (window-top (plist-get info :parent-window-top))
         (window-height (plist-get info :parent-window-height))
         (posframe-height (plist-get info :posframe-height))
         (mode-line-height (plist-get info :mode-line-height)))
    (cons window-left
          (+ window-top window-height
             (- 0 mode-line-height posframe-height)))))