From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: monnier@iro.umontreal.ca, 68796@debbugs.gnu.org
Subject: bug#68796: xterm.c: Convert mouse-4/5/6/7 to wheel-up/down/left/right
Date: Sat, 10 Feb 2024 10:24:32 +0200 [thread overview]
Message-ID: <86cyt4vi9r.fsf@gnu.org> (raw)
In-Reply-To: <87r0hzfpd5.fsf@yahoo.com> (bug-gnu-emacs@gnu.org)
Ping! Can we make some progress here?
> Cc: 68796@debbugs.gnu.org
> Date: Tue, 30 Jan 2024 11:53:58 +0800
> From: Po Lu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> > Hmm... so IIUC you're saying that even when `dpyinfo->supports_xi2` is
> > true, we may receive `mouse-4/5/6/7` events for wheel motions?
> > Yuck!
>
> Yes, and as always other clients may send whatever they want, although
> Emacs is not obliged to handle those events correctly.
>
> >> The correct test of event type is whether x_construct_mouse_click is
> >> being called from the XI_ButtonPress or XI_ButtonRelease label in
> >> handle_one_xevent.
> >
> > OK, that sounds fixable. See additional patch below.
>
> Thanks. I'm short on time at the moment, but will get around to this.
>
>
>
>
next prev parent reply other threads:[~2024-02-10 8:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-29 14:45 bug#68796: xterm.c: Convert mouse-4/5/6/7 to wheel-up/down/left/right Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-30 2:00 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-30 3:32 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-30 3:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-10 8:24 ` Eli Zaretskii [this message]
2024-02-10 9:09 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-10 14:22 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-10 15:33 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-03 16:22 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-04 1:47 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-04 3:07 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=86cyt4vi9r.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=68796@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
--cc=monnier@iro.umontreal.ca \
/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).