all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 101bbd1392: Add support for pinch gestures to the XI2 build
Date: Sun, 26 Dec 2021 19:26:41 +0800	[thread overview]
Message-ID: <87mtkn4nf2.fsf@yahoo.com> (raw)
In-Reply-To: <838rw7pr4j.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Dec 2021 13:01:00 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Cc: emacs-devel@gnu.org
>> Date: Sun, 26 Dec 2021 18:58:50 +0800
>> 
>> >> DX and DY are represented in an imaginary unit where 1.0 is the
>> >> horizontal width and vertical height of the touchpad (or more precisely,
>> >> depedent touch device, which might include Wacom tablets if their
>> >> drivers are configured in a special way) respectively.
>> 
>> > This should be documented.
>> 
>> Yes, I'll do that.
>> 
>> > But I wonder how these two values are useful, if their units are not
>> > pixels and not anything that can be converted to pixels?
>> 
>> You are supposed to multiply it by the dimensions of whatever object is
>> onscreen: in image-mode, it could be the dimensions of the image, while
>> in a message buffer it could instead be the dimensions of the window's
>> text area.
>
> But you said above that the value 1.0 is the size of the touchpad, not
> of the image or text window?  So now I'm confused.

Yes.  The idea is that the size of the touchpad corresponds (in the mind
of the user) to the size of whatever is displayed onscreen underneath
the mouse pointer.



      reply	other threads:[~2021-12-26 11:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-26  7:36 master 101bbd1392: Add support for pinch gestures to the XI2 build Eli Zaretskii
2021-12-26 10:03 ` Po Lu
2021-12-26 10:31   ` Eli Zaretskii
2021-12-26 10:39     ` Po Lu
2021-12-26 10:48       ` Eli Zaretskii
2021-12-26 11:09         ` Po Lu
2021-12-26 11:28           ` Eli Zaretskii
2021-12-26 11:37             ` Po Lu
2021-12-26 11:44           ` Po Lu
2021-12-26 11:51             ` Eli Zaretskii
2021-12-26 11:53               ` Po Lu
2021-12-26 11:58                 ` Eli Zaretskii
2021-12-26 12:12                   ` Po Lu
2021-12-26 10:42   ` Eli Zaretskii
2021-12-26 10:51     ` Po Lu
2021-12-26 10:55       ` Eli Zaretskii
2021-12-26 10:58         ` Po Lu
2021-12-26 11:01           ` Eli Zaretskii
2021-12-26 11:26             ` Po Lu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtkn4nf2.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.