unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 57020@debbugs.gnu.org
Subject: bug#57020: 29.0.50; Mouse wheel stops working
Date: Sun, 07 Aug 2022 10:47:28 +0800	[thread overview]
Message-ID: <877d3k3h33.fsf@yahoo.com> (raw)
In-Reply-To: <87o7wwrel2.fsf@web.de> (Michael Heerdegen's message of "Sun, 07 Aug 2022 04:07:37 +0200")

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> mouse-4/mouse-5 or wheel-up/wheel-down?
>>
>> Please be clear here, since they are handled separately under XInput
>> 2.
>
> You are right, the force of habit: When the events are considered they
> are named "wheel-up/wheel-down" - I'm sorry.
>
> Michael.

Could you instrument this chunk of xterm.c:

		      /* See the comment on top of x_cache_xi_devices
			 for more details on how scroll wheel movement
			 is reported on XInput 2.  */
		      delta = x_get_scroll_valuator_delta (dpyinfo, device,
							   i, *values, &val);
		      values++;

by adding:

		      printf ("%g\n", delta);

afterwards?  Then, please see if any (and what) values are printed once
the mouse wheel stops working.





  reply	other threads:[~2022-08-07  2:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-06 22:53 bug#57020: 29.0.50; Mouse wheel stops working Michael Heerdegen
2022-08-07  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-07  2:07   ` Michael Heerdegen
2022-08-07  2:47     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-08-08  1:58       ` Michael Heerdegen
2022-08-08  2:36         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-09  0:13           ` Michael Heerdegen
2022-08-09  0:24             ` Michael Heerdegen
2022-08-09  0:48               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-09  3:07                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-09  3:48                   ` Michael Heerdegen
2022-08-09  5:11                     ` Po Lu 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=877d3k3h33.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=57020@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=michael_heerdegen@web.de \
    /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).