changeset 81131:85d05811cbe7

(Click Events): Describe width and height when object is nil.
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 03 Jun 2007 01:05:49 +0000
parents 16a0ca8aac1a
children 094200bbe6b7
files lispref/commands.texi
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/commands.texi	Sun Jun 03 01:03:22 2007 +0000
+++ b/lispref/commands.texi	Sun Jun 03 01:05:49 2007 +0000
@@ -1225,7 +1225,7 @@
 
 
 @item @var{x}, @var{y}
-These are the pixel-denominated coordinates of the click, relative to
+These are the pixel coordinates of the click, relative to
 the top left corner of @var{window}, which is @code{(0 . 0)}.
 For the mode or header line, @var{y} does not have meaningful data.
 For the vertical line, @var{x} does not have meaningful data.
@@ -1266,13 +1266,14 @@
 an image object as returned by @code{find-image} if click was in an image.
 
 @item @var{dx}, @var{dy}
-These are the pixel-denominated coordinates of the click, relative to
+These are the pixel coordinates of the click, relative to
 the top left corner of @var{object}, which is @code{(0 . 0)}.  If
 @var{object} is @code{nil}, the coordinates are relative to the top
 left corner of the character glyph clicked on.
 
 @item @var{width}, @var{height}
-These are the pixel-denominated width and height of @var{object}.
+These are the pixel width and height of @var{object} or, if this is
+@code{nil}, those of the character glyph clicked on.
 @end table
  
 @sp 1