Function: posframe-poshandler-absolute-x-y

posframe-poshandler-absolute-x-y is a byte-compiled function defined in posframe.el.

Signature

(posframe-poshandler-absolute-x-y INFO)

Documentation

Posframe's position handler.

This poshandler function deal with (integer . integer) style position.

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-absolute-x-y (info)
  "Posframe's position handler.

This poshandler function deal with (integer . integer) style
position.

The structure of INFO can be found in docstring of
`posframe-show'."
  (let ((position (plist-get info :position))
        (x-pixel-offset (plist-get info :x-pixel-offset))
        (y-pixel-offset (plist-get info :y-pixel-offset)))
    (cons (+ (car position) x-pixel-offset)
          (+ (cdr position) y-pixel-offset))))