aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2005-01-14 12:15:33 +0000
committerKim F. Storm2005-01-14 12:15:33 +0000
commitcfa284c450931ec8b27c34022b016d96dc3014fd (patch)
tree53c3e7d2e4fd1969ab6c1dd8eb342741aad27d5e
parent88948d55b15b3f6e5730ea69e597818c8b01103f (diff)
downloademacs-cfa284c450931ec8b27c34022b016d96dc3014fd.tar.gz
emacs-cfa284c450931ec8b27c34022b016d96dc3014fd.zip
(Accessing Events): Add WHOLE arg to posn-at-x-y.
-rw-r--r--lispref/commands.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/lispref/commands.texi b/lispref/commands.texi
index fb0eabe272b..b1bc552db36 100644
--- a/lispref/commands.texi
+++ b/lispref/commands.texi
@@ -1843,12 +1843,15 @@ This function returns a position list for position @var{pos} in
1843@var{window}. 1843@var{window}.
1844@end defun 1844@end defun
1845 1845
1846@defun posn-at-x-y x y &optional frame-or-window 1846@defun posn-at-x-y x y &optional frame-or-window whole
1847This function returns position information corresponding to pixel 1847This function returns position information corresponding to pixel
1848coordinates @var{x} and @var{y} in a specified frame or window, 1848coordinates @var{x} and @var{y} in a specified frame or window,
1849@var{frame-or-window}, which defaults to the selected window. 1849@var{frame-or-window}, which defaults to the selected window.
1850The coordinates @var{x} and @var{y} are relative to the 1850The coordinates @var{x} and @var{y} are relative to the
1851frame or window used. 1851frame or window used.
1852If @var{whole} is @code{nil}, the coordinates are relative
1853to the window text area, otherwise they are relative to
1854the entire window area including scroll bars, margins and fringes.
1852@end defun 1855@end defun
1853 1856
1854 These functions are useful for decoding scroll bar events. 1857 These functions are useful for decoding scroll bar events.