From: Po Lu <luangruo@yahoo.com>
To: "Jindřich Makovička" <makovick@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: pgtk mouse wheel speed
Date: Sat, 13 Nov 2021 18:18:01 +0800 [thread overview]
Message-ID: <87bl2onyue.fsf@yahoo.com> (raw)
In-Reply-To: <20211113110550.7f150ecb@holly> ("Jindřich Makovička"'s message of "Sat, 13 Nov 2021 11:05:50 +0100")
Jindřich Makovička <makovick@gmail.com> writes:
> I am really happy with the PGTK Emacs so far - about the only thing
> that annoys me is the mouse scrolling wheel behavior - setting the
> _per_char parameters to 2 cause Emacs to ignore every second mouse
> wheel "click", which makes the scrolling really slow, at least when
> one is used to the scroll rate of 5 lines per wheel click the ordinary
> X Emacs uses.
>
> I am currently applying the patch below to bring things back to normal
> - is there any way to override the scrolling speed without patching the
> source?
Why not utilize the pixel-based scroll events that GTK+ gives?
Something like the NS port, which sums up pixels until they exceed the
frame's line height, before sending a wheel event.
prev parent reply other threads:[~2021-11-13 10:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-13 10:05 pgtk mouse wheel speed Jindřich Makovička
2021-11-13 10:18 ` Po Lu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bl2onyue.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=emacs-devel@gnu.org \
--cc=makovick@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).