all messages for Emacs-related lists mirrored at yhetil.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: Visuwesh <visuweshm@gmail.com>
Cc: 65129@debbugs.gnu.org
Subject: bug#65129: 30.0.50; pinch gestures suddenly stops being recognised
Date: Tue, 08 Aug 2023 08:59:02 +0800	[thread overview]
Message-ID: <87350u1h9l.fsf@yahoo.com> (raw)
In-Reply-To: <87wmy6iywe.fsf@gmail.com> (Visuwesh's message of "Mon, 07 Aug 2023 22:16:09 +0530")

Visuwesh <visuweshm@gmail.com> writes:

> Unfortunately, I don't have a good reproducer for this but ever since
> updating to master from the emacs-29 branch, pinch gestures in Emacs
> frames suddenly stops being recognised.  When I do C-h k and pinch, or
> view lossage, I see wheel-left and wheel-down events but no pinch event.
>
> However, if I create a new frame and try to pinch there, it works just
> fine.
>
> I apologise again for the vague report, but I have nothing better to
> offer.  So far, I haven't tried to reproduce this in an emacs -Q
> session.

No worries there, please instrument handle_one_xevent like so:

diff --git a/src/xterm.c b/src/xterm.c
index f454733c659..57b06c571f6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -24722,6 +24722,11 @@ handle_one_xevent (struct x_display_info *dpyinfo,
 	      x_display_set_last_user_time (dpyinfo, pev->time,
 					    pev->send_event, true);
 
+	      if (device)
+		fprintf (stderr, "XI_GesturePinchBegin: %d\n", device->use);
+	      else
+		fprintf (stderr, "XI_GesturePinchBegin: no device\n");
+
 	      if (!device || device->use != XIMasterPointer)
 		goto XI_OTHER;
 
and show us what is printed when you attempt a pinch gesture after they
cease being delivered.





  reply	other threads:[~2023-08-08  0:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-07 16:46 bug#65129: 30.0.50; pinch gestures suddenly stops being recognised Visuwesh
2023-08-08  0:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-08-09  9:38   ` Visuwesh
2023-08-09  9:47     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-09 10:00       ` Visuwesh
2023-08-09 12:37         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-09 13:43           ` Visuwesh
2023-08-10  0:38             ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87350u1h9l.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=65129@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=visuweshm@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.