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 e37eb7f: Add support for pixel wheel deltas on NS Date: Sat, 27 Nov 2021 08:09:46 +0200 Message-ID: <83lf1a1651.fsf@gnu.org> References: <20211125030922.2353.1129@vcs0.savannah.gnu.org> <20211125030924.7258E2094B@vcs0.savannah.gnu.org> <871r34h6pi.fsf@gmail.com> <87fsrkzfq1.fsf@yahoo.com> <83tug05whz.fsf@gnu.org> <87tufzycli.fsf@yahoo.com> <837dcv4e79.fsf@gnu.org> <87wnkvflk7.fsf@yahoo.com> <83zgpr2uvr.fsf@gnu.org> <87fsrjfeb1.fsf@yahoo.com> <83r1b32lvr.fsf@gnu.org> <877dcvf8ec.fsf@yahoo.com> <831r323lgs.fsf@gnu.org> <87v90ecvoa.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10187"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 27 07:10:57 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 1mqqvJ-0002S0-6p for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Nov 2021 07:10:57 +0100 Original-Received: from localhost ([::1]:38340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqqvH-0002Oh-56 for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Nov 2021 01:10:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqqu5-0001fz-UJ for emacs-devel@gnu.org; Sat, 27 Nov 2021 01:09:41 -0500 Original-Received: from [2001:470:142:3::e] (port=44996 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 1mqqu5-0001QP-Gl; Sat, 27 Nov 2021 01:09:41 -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=TyOeHkfU97wk4ThUBYmAp0y0q6fJDuSP+aOWM1Dbwu4=; b=YODbvUPqIt1s ulBYY7o2t+QsoiLs9POqKFJiXofz4fXYSCJNo3JMla/mtJZvPYGhVD7Dcx55OPdIdjd9Usn+YdU5x PFwo1XifRoJrGkWhd3ISgrcF8rn6ODXDnsM6Fc1cJpaNRetA97aeOd4izLYd4PkUCEIscX88ZOmsJ 4Bh3xsHq98HnYaI26jbdlOIH2G6g8SoYhZJ4n70d4DueTTajAt7jTBAUeSpoMisvH35Jmo3zei/8G G5FZGGQZ2PUsxdIe3a4ppzd9ZEKBYGD10e/9LVDPV9RXMDct0xcT2jjFbfpHruNqvkFFvkpck5Itb pRKB/39yhYOrkXE3ceqILg==; Original-Received: from [87.69.77.57] (port=3175 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 1mqqu5-0001s6-1J; Sat, 27 Nov 2021 01:09:41 -0500 In-Reply-To: <87v90ecvoa.fsf@yahoo.com> (message from Po Lu on Sat, 27 Nov 2021 08:02:45 +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:280291 Archived-At: > From: Po Lu > Cc: rpluim@gmail.com, emacs-devel@gnu.org > Date: Sat, 27 Nov 2021 08:02:45 +0800 > > Eli Zaretskii writes: > > >> Thanks! I really appreciate it. > > > What pixel-delta values are typically reported on X for a single click > > of the mouse wheel? > > A click (i.e. a movement where precise information is unavailable)? Why are you saying "click" when we are talking about mouse wheel. The wheel is not clicked when the user wants to scroll, the wheel is turned. > Typically 1 scroll unit is reported, which would be: > > 1.0 * pow (FRAME_PIXEL_HEIGHT (f), 2.0 / 3.0) ??? That's about 100 pixels on a reasonably-sized frame. How can such large values support "precision pixelwise scrolling"? Are we talking about the same thing? I was asking about the smallest values of the deltas reported in the mouse wheel-up and wheel-down events when the user turns the wheel the smallest amount possible.