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: Thu, 25 Nov 2021 20:58:26 +0200 Message-ID: <83h7c03vvx.fsf@gnu.org> References: <20211125030922.2353.1129@vcs0.savannah.gnu.org> <20211125030924.7258E2094B@vcs0.savannah.gnu.org> <871r34h6pi.fsf@gmail.com> <83v90g5wlp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39261"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, rpluim@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 25 19:58:56 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 1mqJxQ-0009zt-JQ for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 19:58:56 +0100 Original-Received: from localhost ([::1]:53266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqJxP-0003Js-4D for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 13:58:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqJwu-0002eh-5R for emacs-devel@gnu.org; Thu, 25 Nov 2021 13:58:24 -0500 Original-Received: from [2001:470:142:3::e] (port=55022 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 1mqJwt-00027I-TA; Thu, 25 Nov 2021 13:58:23 -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=Ns/EaJsmTe8oLqfXOb/ThjZQvkDmY9R5ZzWN1h4FzTg=; b=sdISvUUUCaTu 5BJELUlc4VX2spDIAccsV/Bhzfq2OddEJ3KXaF3jNeTSFlSyolCfyZerMRD1BooSL9lZI9lZaJ+si aPw/zcDUJvOSCHja6DsAYDAxt093J9zImwB5gwnXZGR9xKA81vQuvH4Hf3K72ikLsYcgrqRDKGVWI iGreM8Qp2ezyXppsz5ePDHCDZ2pj5pPajUTyyDBRQKUXvU1VwyiA4d2ZJ3AFZt0nw5sSm2k+yX3S2 EuvW55QuQAWYfKYEMPWL43L4++/H+RnQVLSkAB/FPt1EWiIvD8gQ8X0+GW+LLznyHZqEfM93+mce4 IcihSC3ov1HhWdXOBuppSw==; Original-Received: from [87.69.77.57] (port=3523 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 1mqJwt-0002Ty-HP; Thu, 25 Nov 2021 13:58:23 -0500 In-Reply-To: (message from Stefan Monnier on Thu, 25 Nov 2021 13:46:21 -0500) 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:280175 Archived-At: > From: Stefan Monnier > Cc: Robert Pluim , luangruo@yahoo.com, emacs-devel@gnu.org > Date: Thu, 25 Nov 2021 13:46:21 -0500 > > >> Po> + > >> Po> + DEFVAR_BOOL ("x-coalesce-scroll-events", x_coalesce_scroll_events, > >> Po> + doc: /* SKIP: real doc in xterm.c. */); > >> Po> + x_coalesce_scroll_events = true; > >> Po> + > >> > >> We now have 3 definitions of x-coalesce-scroll-events. Is there not > >> somewhere more generic where you can put it? (and I suspect we can > >> drop the x- bit). > > > > keyboard.c, perhaps? > > Maybe a new `gui.c` where can put some of the code shared between the > various GUI-specific files? We already have that: xdisp.c. But this is not GUI, this is about input events.