all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: 65129@debbugs.gnu.org
Subject: bug#65129: 30.0.50; pinch gestures suddenly stops being recognised
Date: Wed, 09 Aug 2023 19:13:34 +0530	[thread overview]
Message-ID: <87350s5o1l.fsf@gmail.com> (raw)
In-Reply-To: <87edkcwfws.fsf@yahoo.com> (Po Lu's message of "Wed, 09 Aug 2023 20:37:07 +0800")

[Wednesday August 09, 2023] Po Lu wrote:

> Does the following patch fix your problem?

Yes, it does.  Thanks!

> diff --git a/src/xmenu.c b/src/xmenu.c
> index 6d32aa3e078..d4b5b385e11 100644
> --- a/src/xmenu.c
> +++ b/src/xmenu.c
> @@ -1680,6 +1680,19 @@ leave_toolkit_menu (void *data)
>    XISetMask (m, XI_Enter);
>    XISetMask (m, XI_Leave);
>  
> +#ifdef HAVE_XINPUT2_4
> +  /* Select for gesture events.  Emacs selects for gesture events from
> +     all master devices on non-GTK3 builds, so that event mask is also
> +     clobbered by prepare_for_entry_into_toolkit_menu.  (bug#65129) */
> +
> +  if (dpyinfo->xi2_version >= 4)
> +    {
> +      XISetMask (m, XI_GesturePinchBegin);
> +      XISetMask (m, XI_GesturePinchUpdate);
> +      XISetMask (m, XI_GesturePinchEnd);
> +    }
> +#endif /* HAVE_XINPUT2_4 */
> +
>    FOR_EACH_FRAME (tail, frame)
>      {
>        f = XFRAME (frame);





  reply	other threads:[~2023-08-09 13:43 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
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 [this message]
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=87350s5o1l.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=65129@debbugs.gnu.org \
    --cc=luangruo@yahoo.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.