The function current-pointer-position
returns the current x,y position of the pointer on the screen of
relative-to
, which defaults to the current screen.
If
pane-relative-p
is true then the position is returned relative to
relative-to
, otherwise it is returned relative to the screen. The default value of
pane-relative-p
is t
.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017