From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 101bbd1392: Add support for pinch gestures to the XI2 build Date: Sun, 26 Dec 2021 13:51:53 +0200 Message-ID: <831r1zporq.fsf@gnu.org> References: <83r19zq0l9.fsf@gnu.org> <87fsqf65u4.fsf@yahoo.com> <83h7avpsi7.fsf@gnu.org> <874k6v646q.fsf@yahoo.com> <83ee5zpror.fsf@gnu.org> <87r19z4o8i.fsf@yahoo.com> <87ee5z4mll.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25803"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 26 12:55:25 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 1n1S7Z-0006SU-IZ for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 12:55:25 +0100 Original-Received: from localhost ([::1]:55162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1S7Y-0004co-8F for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 06:55:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1S3v-00083o-DM for emacs-devel@gnu.org; Sun, 26 Dec 2021 06:51:39 -0500 Original-Received: from [2001:470:142:3::e] (port=52004 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1S3v-0001Ph-3G; Sun, 26 Dec 2021 06:51:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/ZUVtBSYQrmQOYfSRTAScz+z5AlIid/INsJEqmGD2Ik=; b=cl1F+ljFMCyE zlgLtY9v2eh9wG+JODGdzKyAZXUoi7bXxaiat4HPlYXY6IquRd/3irKGGzXlbfNUOtrL/oRRHC5Gy ogLl+HM5UA+TSmoeWdAix3qgKjYq7AbFG2fNwdNUCixdinLTg4gz0tnzMczY5nfqPoMghrhpuM4F5 CKLcXPIIpfrSYzNnsub2ux5z9FRqDziqM9ZCdK6rNmzuFSLMx6wivy1hEVJDkN88GL2ZTHOTTPnu4 2ohOLjhEoz4AnmgtShHDKxKrDZxzdZYF8M071prKXns+W2C3oS8w55Zb0sm+pUVXPIZGq8loV6adM SAG2gA7E6tzlmJ7OVQdCQw==; Original-Received: from [87.69.77.57] (port=2093 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1S3v-0007Ku-1m; Sun, 26 Dec 2021 06:51:39 -0500 In-Reply-To: <87ee5z4mll.fsf@yahoo.com> (message from Po Lu on Sun, 26 Dec 2021 19:44:22 +0800) 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:283306 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Sun, 26 Dec 2021 19:44:22 +0800 > > Po Lu writes: > > > I see your point now. I'll look into making keyboard.c merge multiple > > pinch events in the event queue. > > Does this change in keyboard.c look okay to you? Thanks. Yes. But I think you should accumulate the DX, DY, SCALE, and ANGLE values, so that the event you deliver expresses the entire change?