emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 53093ce366: ; * doc/lispref/commands.texi (Misc Events): Fix word


From: Eli Zaretskii
Subject: master 53093ce366: ; * doc/lispref/commands.texi (Misc Events): Fix wording.
Date: Sun, 26 Dec 2021 07:22:07 -0500 (EST)

branch: master
commit 53093ce3662343a2d03174bc886e4469470673d7
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * doc/lispref/commands.texi (Misc Events): Fix wording.
---
 doc/lispref/commands.texi | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 0268d4d73a..31e4c5411c 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -2095,7 +2095,7 @@ when the event occurred, @var{dx} is the change in the 
horizontal
 distance between the fingers since the last event in the same sequence,
 @var{dy} is the vertical movement of the fingers since the last event
 in the same sequence, @var{scale} is the ratio of the current distance
-between the fingers and that distance at the start of the sequence, and
+between the fingers to that distance at the start of the sequence, and
 @var{angle} is the angular difference in degrees between the direction
 of the line connecting the fingers in this event and the direction of
 that line in the last event of the same sequence.
@@ -2109,10 +2109,13 @@ All arguments after @var{position} are floating point 
numbers.
 This event is usually sent as part of a sequence, which begins with
 the user placing two fingers on the touchpad, and ends with the user
 removing those fingers.  @var{dx}, @var{dy}, and @var{angle} will be
-@code{0.0} in the first event sent after a sequence begins.
+@code{0.0} in the first event of a sequence; subsequent events will
+report non-zero values for these members of the event structure.
 
-@var{dx} and @var{dy} are represented in imaginary units, in which
-@code{1.0} is the width and height of the touchpad respectively.
+@var{dx} and @var{dy} are reported in imaginary relative units, in
+which @code{1.0} is the width and height of the touchpad
+respectively.  They are usually interpreted as being relative to the
+size of the object beneath the gesture: image, window, etc.
 
 @cindex @code{drag-n-drop} event
 @item (drag-n-drop @var{position} @var{files})



reply via email to

[Prev in Thread] Current Thread [Next in Thread]