From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#50269: 27.2; Request: use GTK continuous scroll events for smooth touchpad scrolling Date: Mon, 30 Aug 2021 20:28:31 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7330"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50269@debbugs.gnu.org To: Alexander Huntley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 30 21:38:36 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mKn75-0001i8-N2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Aug 2021 21:38:35 +0200 Original-Received: from localhost ([::1]:55840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKn74-0003C8-Lg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Aug 2021 15:38:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKmxq-0004ei-PK for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 15:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKmxq-0005qO-Ex for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 15:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKmxq-0006sh-2U for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2021 15:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Aug 2021 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50269 X-GNU-PR-Package: emacs Original-Received: via spool by 50269-submit@debbugs.gnu.org id=B50269.163035172626420 (code B ref 50269); Mon, 30 Aug 2021 19:29:02 +0000 Original-Received: (at 50269) by debbugs.gnu.org; 30 Aug 2021 19:28:46 +0000 Original-Received: from localhost ([127.0.0.1]:60323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKmxa-0006s3-0o for submit@debbugs.gnu.org; Mon, 30 Aug 2021 15:28:46 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:40237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKmxV-0006rf-6Q for 50269@debbugs.gnu.org; Mon, 30 Aug 2021 15:28:44 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id DE913388; Mon, 30 Aug 2021 19:28:34 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1630351714; bh=/rDHnweQHwbAAIpqY+TESB4JSr9ONZNNL+WxqUUZWuk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=epdmvMRwX7ckt6lmMarEgmI3A4WDqlPkj6KWtcD7daiEkr+ACj9YFZyc9+bmnsl6Q cYBIHYxyUOCIK5HApxpGe/aZNcbSfB/ZEzcx9IVRIPm3HsWG/EVrhqUWVhp3nm54Ci N8zH7MdN90ouek50CZUOkr7gttjcPUp07oNyqYxNw7v/VjSLiBFjYnDhSH8WBRQLTT rFMKKGJLMEmvHEXdSFGE4Wvl8CT1yimzUwWzrHIMWrjjYTWli+XAqL9gHm3Oz4tz6Z /9q27bUWfgwVI2rwCrUx2hbyfuvJjVom0vKuBiJsYLXempZ5KWW8w/wJWmH4uiZnrs 8+lYChlRYIvtw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mKmxL-00165P-Jn; Mon, 30 Aug 2021 20:28:31 +0100 Mail-Followup-To: Alan Third , Alexander Huntley , 50269@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213041 Archived-At: On Mon, Aug 30, 2021 at 02:35:19PM +0100, Alexander Huntley wrote: > When using a laptop touchpad, native GTK applications use continuous > scroll events to give much smoother scrolling, whereas Emacs simply > emulates the discrete scrolling events of a mouse scroll wheel. This > makes touchpad scrolling under Emacs feel much less natural than many > other Linux applications. > > Would it be possible to expose these events to elisp and hence get nice > pixel-perfect scrolling in Emacs? It's not practical to do in the current X/GTK terminal code. Emacs doesn't actually use the GTK event system, so it would have to be added from scratch. Once PGTK is merged it should be able to provide this sort of thing much more easily. -- Alan Third