# HG changeset patch # User Nick Roberts # Date 1180832749 0 # Node ID 85d05811cbe7ab6e6229bc9cdebff2b410a20547 # Parent 16a0ca8aac1ab22bda267b90fd0abfe573964500 (Click Events): Describe width and height when object is nil. diff -r 16a0ca8aac1a -r 85d05811cbe7 lispref/commands.texi --- 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