diff options
| -rw-r--r-- | lispref/commands.texi | 5 |
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 |
| 1847 | This function returns position information corresponding to pixel | 1847 | This function returns position information corresponding to pixel |
| 1848 | coordinates @var{x} and @var{y} in a specified frame or window, | 1848 | coordinates @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. |
| 1850 | The coordinates @var{x} and @var{y} are relative to the | 1850 | The coordinates @var{x} and @var{y} are relative to the |
| 1851 | frame or window used. | 1851 | frame or window used. |
| 1852 | If @var{whole} is @code{nil}, the coordinates are relative | ||
| 1853 | to the window text area, otherwise they are relative to | ||
| 1854 | the 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. |