Function: vertico-posframe-refposhandler-default
vertico-posframe-refposhandler-default is a natively compiled function
defined in vertico-posframe.el.
Signature
(vertico-posframe-refposhandler-default &optional FRAME)
Documentation
The default posframe refposhandler used by vertico-posframe.
Optional argument FRAME .
Source Code
;; Defined in /nix/store/ikn3v8q50cnzqr2w28cx8b7wqr6cg5zb-emacs-packages-deps/share/emacs/site-lisp/elpa/vertico-posframe-0.9.2/vertico-posframe.el
(defun vertico-posframe-refposhandler-default (&optional frame)
"The default posframe refposhandler used by vertico-posframe.
Optional argument FRAME ."
(cond
;; EXWM environment
((bound-and-true-p exwm--connection)
(or (ignore-errors
(let ((info (elt exwm-workspace--workareas
exwm-workspace-current-index)))
(cons (oref info x)
(oref info y))))
;; Need user install xwininfo.
(ignore-errors
(posframe-refposhandler-xwininfo frame))
;; Fallback, this value will incorrect sometime, for example: user
;; have panel.
(cons 0 0)))
(t nil)))