From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 101bbd1392: Add support for pinch gestures to the XI2 build Date: Sun, 26 Dec 2021 18:58:50 +0800 Message-ID: <87v8zb4oph.fsf@yahoo.com> References: <83r19zq0l9.fsf@gnu.org> <87fsqf65u4.fsf@yahoo.com> <83fsqfpryt.fsf@gnu.org> <87zgon4p1y.fsf@yahoo.com> <83bl13pre2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20829"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 26 12:01:07 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n1RH1-0005H9-Hu for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 12:01:07 +0100 Original-Received: from localhost ([::1]:40178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1RH0-0003wP-3r for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 06:01:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1REy-0002C5-Jt for emacs-devel@gnu.org; Sun, 26 Dec 2021 05:59:00 -0500 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:35044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1REw-0001Sf-Ma for emacs-devel@gnu.org; Sun, 26 Dec 2021 05:59:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640516337; bh=6PjlnW632MJXwzeu7IGaDhTM+DflIwvKTpJLAxzjDjM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Zw6Wi76qvgu2vHDw6tRNHwCA58LpDwWdlm7+htsGAfXmpWvg/3l2Mz/RPbJDaAIEvPYjojH4kdHIsl3WfmYBcCeCDBD+xAP+sK6FPMCUGhIkmlgaIux9KXjxD87VxnmX6ZzkcMTlYouLJ46MTisHTXCCg7r4WwvLXpf8xy8z26CQ621cJY0C6ZCLE9ZXlMM1gJDzoIO6a7TDToCOkb3MfPoIaB8gBj8VyJo6+dE6kDU+W3Z22XYTCoRiFxmXXGW82TVuKOi5r3oGOsTbocrALZ3Evt2jmYDaGi9RWtmB51QCqNux1iEZm28CRjjDtFGgX3OiWiJCXk4PbeKsuDbRtg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640516337; bh=1KtDasVzc/K+wMF/i3HAsci9WIoVUSxGMMJwVbRnSlN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=AULacdm6VA1gm85zVzkjl8WVAhsVrx0LPAyr70Hos0Z69lqsnKJKhi86wRjXCCv+JVOd/HRe80wK27c4xo5txzuKVHVSnyl/ZhNVTgiAfkN2CK72wT7Nojt3XV1FOkrYdFA3Yp3uUyrbE7GWhvD/yT0EICfVjOn7fWIKkULRLHLrGk8rYhFEdmJtPp4+oYif3DLcu0750X/7W1H8TH9+hHEGUFLLlg11D5QUp/Q0+xF135Cer67Z9jZ9YEFBH8Yklm0qx9kukX0AqsttZhLsV3iMrPfQ9twgWcc40T7sApyjmKNNghEx5qYh/TbMadaYmG1E+R8eB/U59/j6EJ5r7Q== X-YMail-OSG: hXiVXU0VM1nK40aW6unEYaqcEJHu2s0GFGHxgu_gJ4Ohf2t60IVRKFWU5n_Yvvo tzA7CKrPhnD9t9zMqB6CrHP7Z_L9x74gF3qq6o4P263aHySOxLy2L0V9A3I1DZif6FgU9ICqwFJy p_bqz4l.f2_SM_6JL1EOKUY6tkgU9Mx3HpIk2p3aQMHn.KXZLyATdqPZOPdj82gHMPqncQzYrzV. RwH6nJW2AUHHD1rqc4bP8y30SGYnG3EPECnOy1XroZwJXNIWRwskUZMIiNuq4sJBpBPk_YtkJARx jW_cl86MOM5wkBJNZ5T3AbBqK0tibh7xWLFj2jASbViiT0oVHsw03lTE1Z1rYOEH0sexZM5yXCci V2tAN97d7OGsG9JhsBvZjcZsBiAPzgvvxKJkyLqzyEr8F0njad_pRnv94VKaK9.n2Y17Cndt6UIe pmfQxbZnldau4IalAoD.ESi.HXp6CHqjbxTIJ9DyIs1LbK7zudCSBpuUgOG399zsD1h1mXD3Nf.a niGySwg6WEPWn60PnqBu1XSMNwWnPvczwrAFdiNMekGsQYEvxHDzPXD9eTJ953YBIK6s6U9Cij9D Wa6ATR3XkK8Gzl1_y3F_n.hQglaOsa3L6l6_MZ4PeDzdque063_SxauwaRJiTiUgJwWSt2Att.25 nmNF1Btko1MJwT1huoQxb5x0vcSPFdp7yH_efgn7Vv2Jp.KM5dbIcHBbwbNHKPOtlADWFjePZEc7 2ogeN6Ca4TnVxST4QjdayG_tBKvuGqYJGn1j3FIyIrBHRu5VOPSOphTGQX7PaMoSbYrd5Mk4a5i6 hI.z2l6aQ9g4oX92xbZTvecBgUEAtZftyKfw5s9.ok X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 26 Dec 2021 10:58:57 +0000 Original-Received: by kubenode516.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5f93c2da09ceb4dd6e2c186859a85148; Sun, 26 Dec 2021 10:58:54 +0000 (UTC) In-Reply-To: <83bl13pre2.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Dec 2021 12:55:17 +0200") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.82; envelope-from=luangruo@yahoo.com; helo=sonic306-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283289 Archived-At: Eli Zaretskii writes: >> From: Po Lu >> Cc: emacs-devel@gnu.org >> Date: Sun, 26 Dec 2021 18:51:21 +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. Thanks.