GNU bug report logs - #66765
30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events

Previous Next

Package: emacs;

Reported by: Ami Fischman <ami <at> fischman.org>

Date: Thu, 26 Oct 2023 17:51:02 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 30.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: luangruo <at> yahoo.com, ami <at> fischman.org, 66765 <at> debbugs.gnu.org
Subject: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events
Date: Fri, 27 Oct 2023 09:04:00 +0300
> Cc: 66765-done <at> debbugs.gnu.org
> Date: Fri, 27 Oct 2023 08:32:44 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> When the X input extension is in use, both Emacs and the X server ignore
> core events.  It's also impossible to send extension events, so this
> extension renders external event delivery effectively impossible.
> 
> This isn't a bug we can fix, sorry; but the XTEST extension is capable
> of simulating real key presses, so I suggest whatever tools send Emacs
> events be rewritten to make use of that extension.
> 
> The same issue can be observed in programs written to use version 3 or 4
> of the GTK toolkit.

Can you please add something to etc/PROBLEMS about this issue?

How widely is this mechanism used in the wild?  If it is used widely
enough, perhaps we should tell people not to build with XInput2 if
they have vested interests in those methods?

Also, maybe submitting bug reports to the respective developers would
cause them to improve the situation?




This bug report was last modified 1 year and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.